From d4123b8f6095cd9d79eab177b185cb1373518343 Mon Sep 17 00:00:00 2001 From: tbeu Date: Mon, 6 Jun 2016 21:27:05 +0200 Subject: [PATCH] Fix MSVC compiler warning --- expat/lib/xmlparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index b56b66af..7e6e9b36 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -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; } }