mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 23:58:18 +00:00
Merge pull request #4999
775b7b8
LLu is standard, but not portable. use ULL (sinetek)
This commit is contained in:
commit
76182e7cb6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user