From bef93901420ad53e3c289939a7e96289b9b26aa1 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 31 Oct 2012 00:16:26 -0700 Subject: [PATCH] Fixed warnings reported by gcc 4.7.1 Signed-off-by: Leonardo de Moura --- src/test/hwf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/hwf.cpp b/src/test/hwf.cpp index 69aab4c2f..be32b5400 100644 --- a/src/test/hwf.cpp +++ b/src/test/hwf.cpp @@ -101,7 +101,7 @@ static void bug_to_rational() { } static void bug_is_int() { - unsigned raw_val[2] = { 2147483648, 1077720461 }; + unsigned raw_val[2] = { 2147483648u, 1077720461u }; double val = *(double*)(raw_val); std::cout << val << "\n"; hwf_manager m;