Fix MSVC compiler warning

This commit is contained in:
tbeu 2016-06-06 21:27:05 +02:00 committed by Sebastian Pipping
parent 5b24ad2e51
commit d4123b8f60

View File

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