mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(rarchdb) Fix two warnings
This commit is contained in:
parent
06b13228d1
commit
b2e413f0f3
@ -519,7 +519,7 @@ int rmsgpack_read(int fd, struct rmsgpack_read_callbacks *callbacks, void *data)
|
||||
case 0xcd:
|
||||
case 0xce:
|
||||
case 0xcf:
|
||||
tmp_len = 1 << (type - 0xcc);
|
||||
tmp_len = 1ULL << (type - 0xcc);
|
||||
tmp_uint = 0;
|
||||
if(read_uint(fd, &tmp_uint, tmp_len) == -1)
|
||||
return -errno;
|
||||
@ -531,7 +531,7 @@ int rmsgpack_read(int fd, struct rmsgpack_read_callbacks *callbacks, void *data)
|
||||
case 0xd1:
|
||||
case 0xd2:
|
||||
case 0xd3:
|
||||
tmp_len = 1 << (type - 0xd0);
|
||||
tmp_len = 1ULL << (type - 0xd0);
|
||||
tmp_int = 0;
|
||||
if(read_int(fd, &tmp_int, tmp_len) == -1)
|
||||
return -errno;
|
||||
|
Loading…
x
Reference in New Issue
Block a user