ac/msgpack: make fixstrs a const char
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24371>
This commit is contained in:

committed by
Marge Bot

parent
ef4cb2431d
commit
d5f1c9fb4b
@@ -123,7 +123,7 @@ void ac_msgpack_add_fixarray_op(struct ac_msgpack *msgpack, uint32_t n)
|
||||
}
|
||||
}
|
||||
|
||||
void ac_msgpack_add_fixstr(struct ac_msgpack *msgpack, char *str)
|
||||
void ac_msgpack_add_fixstr(struct ac_msgpack *msgpack, const char *str)
|
||||
{
|
||||
uint32_t n;
|
||||
|
||||
|
@@ -19,7 +19,7 @@ int ac_msgpack_resize_if_required(struct ac_msgpack *msgpack,
|
||||
uint32_t data_size);
|
||||
void ac_msgpack_add_fixmap_op(struct ac_msgpack *msgpack, uint32_t n);
|
||||
void ac_msgpack_add_fixarray_op(struct ac_msgpack *msgpack, uint32_t n);
|
||||
void ac_msgpack_add_fixstr(struct ac_msgpack *msgpack, char *str);
|
||||
void ac_msgpack_add_fixstr(struct ac_msgpack *msgpack, const char *str);
|
||||
void ac_msgpack_add_uint(struct ac_msgpack *msgpack, uint64_t val);
|
||||
void ac_msgpack_add_int(struct ac_msgpack *msgpack, int64_t val);
|
||||
|
||||
|
Reference in New Issue
Block a user