Skip to content
Snippets Groups Projects
Commit 98eec86c authored by Fredrik Thulin's avatar Fredrik Thulin
Browse files

proto_read_byte_array: Don't pass size_t to egg_buffer_get_uint32.

Passing size_t to _get_uint32 might leave garbage in top 32 bits of size_t
on 64 bits platforms. While initializing the size_t to 0 would probably
work, using a temporary uint32_t and casting that is more explicit IMO.
parent 8c4748ac
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment