mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data
This commit is contained in:
parent
9989f92eee
commit
ff5fdf9f53
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ TestGuidToString(void *arg)
|
|||
|
||||
/* Serialise to limited-length buffers */
|
||||
for (size = 0; size <= 36; ++size) {
|
||||
const Uint8 fill_char = size + 0xa0;
|
||||
const Uint8 fill_char = (Uint8)(size + 0xa0);
|
||||
Uint32 expected_prefix;
|
||||
Uint32 actual_prefix;
|
||||
int written_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue