Merge pull request #1447 from a-w/develop

Fixed "integer constant is too large for 'long' type" issue
This commit is contained in:
Günter Obiltschnig 2016-10-07 20:37:11 +02:00 committed by GitHub
commit 80fea48cdc

View File

@ -742,7 +742,7 @@ generate_hash_secret_salt(XML_Parser parser)
if (sizeof(unsigned long) == 4) {
return entropy * 2147483647;
} else {
return entropy * (unsigned long)2305843009213693951;
return entropy * 2305843009213693951ULL;
}
}