1 From cdf2f46490f128308eb7f399d03530936ebeda0a Mon Sep 17 00:00:00 2001
2 From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
3 Date: Fri, 11 Nov 2011 03:05:48 +0200
4 Subject: [PATCH 05/27] Fix unserialization of 64-bit signed integers
7 nall/serializer.hpp | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/nall/serializer.hpp b/nall/serializer.hpp
11 index ff2337ab..e6bc8fad 100755
12 --- a/nall/serializer.hpp
13 +++ b/nall/serializer.hpp
14 @@ -58,7 +58,7 @@ namespace nall {
15 for(unsigned n = 0; n < size; n++) idata[isize++] = value >> (n << 3);
16 } else if(imode == Load) {
18 - for(unsigned n = 0; n < size; n++) value |= idata[isize++] << (n << 3);
19 + for(unsigned n = 0; n < size; n++) value |= (unsigned long long)idata[isize++] << (n << 3);
20 } else if(imode == Size) {