[PPL-devel] [GIT] ppl/ppl(master): Fixed signedness. Detected by ECLAIR service utypflag.

Abramo Bagnara abramo.bagnara at gmail.com
Thu Feb 23 15:11:32 CET 2012


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

Author: Abramo Bagnara <abramo.bagnara at gmail.com>
Date:   Thu Feb 23 15:11:19 2012 +0100

Fixed signedness. Detected by ECLAIR service utypflag.

---

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

diff --git a/src/Checked_Number.inlines.hh b/src/Checked_Number.inlines.hh
index 6e97d02..767b810 100644
--- a/src/Checked_Number.inlines.hh
+++ b/src/Checked_Number.inlines.hh
@@ -378,7 +378,7 @@ template <typename To, typename From>					\
 inline typename Enable_If<Is_Native_Or_Checked<To>::value		\
                           && Is_Native_Or_Checked<From>::value,         \
                           Result>::type					\
-name(To& to, const From& x, int exp, Rounding_Dir dir) {		\
+name(To& to, const From& x, unsigned int exp, Rounding_Dir dir) {		\
   return								\
     check_result(Checked::func<typename Native_Checked_To_Wrapper<To>	\
 		 ::Policy,						\




More information about the PPL-devel mailing list