[PPL-devel] [GIT] ppl/ppl(master): Fixed hexadecimal integer literal.

Roberto Bagnara roberto.bagnara at bugseng.com
Sat Feb 13 11:08:23 CET 2016


Module: ppl/ppl
Branch: master
Commit: 223ee038719298d2bc6146689aa4e5109332b71b
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=223ee038719298d2bc6146689aa4e5109332b71b

Author: Roberto Bagnara <roberto.bagnara at bugseng.com>
Date:   Sat Feb 13 11:03:14 2016 +0100

Fixed hexadecimal integer literal.
Fixes a violation of rule MP1.2-13-3 detected by ECLAIR.

---

 src/checked_int_inlines.hh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/checked_int_inlines.hh b/src/checked_int_inlines.hh
index 885d7dc..c0eae32 100644
--- a/src/checked_int_inlines.hh
+++ b/src/checked_int_inlines.hh
@@ -797,7 +797,7 @@ PPL_SPECIALIZE_ASSIGN(assign_int_mpq, unsigned long long, mpq_class)
 #error "Unexpected max for unsigned short"
 #endif
 
-#if UINT_MAX == 0xffffffff
+#if UINT_MAX == 0xffffffffU
 #define INT_BITS 32
 #else
 #error "Unexpected max for unsigned int"




More information about the PPL-devel mailing list