| From cb2bfbc298b8b7561bbe8d055785be8682323ca5 Mon Sep 17 00:00:00 2001 |
| From: Dominic Cooney <dominicc@chromium.org> |
| Date: Mon, 14 Aug 2017 11:54:45 +0900 |
| Subject: [PATCH] Remove truncating cast of constant. |
| |
| --- |
| third_party/expat/files/lib/xmlparse.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/third_party/expat/files/lib/xmlparse.c b/third_party/expat/files/lib/xmlparse.c |
| index b703e61a0404..6d8dc1e33591 100644 |
| --- a/third_party/expat/files/lib/xmlparse.c |
| +++ b/third_party/expat/files/lib/xmlparse.c |
| @@ -951,7 +951,7 @@ generate_hash_secret_salt(XML_Parser parser) |
| return ENTROPY_DEBUG("fallback(4)", entropy * 2147483647); |
| } else { |
| return ENTROPY_DEBUG("fallback(8)", |
| - entropy * (unsigned long)2305843009213693951ULL); |
| + (unsigned long)(entropy * 2305843009213693951ULL)); |
| } |
| #endif |
| } |
| -- |
| 2.14.0.434.g98096fd7a8-goog |
| |