mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-08 06:29:23 +00:00
Fix MSVC compiler warning
This commit is contained in:
parent
5b24ad2e51
commit
d4123b8f60
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue