From 80a6db56c1a9b462c42975d48bdb6c9fafc7087a Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 4 Aug 2003 15:52:51 +0000 Subject: [PATCH] Warning suppression for GCC from Pierre Barbier de Reuille [SVN r19437] --- include/boost/cast.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/cast.hpp b/include/boost/cast.hpp index b26172b..21322f4 100644 --- a/include/boost/cast.hpp +++ b/include/boost/cast.hpp @@ -175,7 +175,7 @@ namespace boost # ifdef LONGLONG_MIN return LONGLONG_MIN; # else - return -9223372036854775808LL; // hope this is portable + return -( 9223372036854775807LL )-1; // hope this is portable # endif } };