aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
authorsinetek <pitwuu@gmail.com>2014-09-28 18:22:44 -0400
committersinetek <pitwuu@gmail.com>2014-09-28 18:22:44 -0400
commit775b7b8d70da34029d3f29cbd67e82fbfcd30481 (patch)
treecb5465253ca54dae9be283a0c2ad54277717b854 /src/serialize.h
parenta38eaea082692d0dac6996dcace2084cd7f29179 (diff)
LLu is standard, but not portable. use ULL
Diffstat (limited to 'src/serialize.h')
-rw-r--r--src/serialize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialize.h b/src/serialize.h
index 7f8f933284..68501facf2 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -245,7 +245,7 @@ uint64_t ReadCompactSize(Stream& is)
uint64_t xSize;
READDATA(is, xSize);
nSizeRet = xSize;
- if (nSizeRet < 0x100000000LLu)
+ if (nSizeRet < 0x100000000ULL)
throw std::ios_base::failure("non-canonical ReadCompactSize()");
}
if (nSizeRet > (uint64_t)MAX_SIZE)