Fix MSVC compiler warning
This commit is contained in:
parent
5b24ad2e51
commit
d4123b8f60
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user