mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
ac/msgpack: make fixstrs a const char
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24371>
This commit is contained in:
parent
ef4cb2431d
commit
d5f1c9fb4b
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue