diff options
Diffstat (limited to 'py/binary.c')
-rw-r--r-- | py/binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/binary.c b/py/binary.c index 5c098b223..05e658c95 100644 --- a/py/binary.c +++ b/py/binary.c @@ -202,7 +202,7 @@ long long mp_binary_get_int(size_t size, bool is_signed, bool big_endian, const delta = 1; } - long long val = 0; + unsigned long long val = 0; if (is_signed && *src & 0x80) { val = -1; } |