From e20431e7136529df88126fd7b23943e43b081cd3 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 29 Apr 2008 10:05:11 +0000 Subject: [PATCH] Changed long long to boost::long_long_type and unsigned long long to boost::ulong_long_type. A couple of other typo corrections, to get the code compiling with g++ -pedantic. [SVN r44877] --- include/boost/math/common_factor_rt.hpp | 4 ++-- test/common_factor_test.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/math/common_factor_rt.hpp b/include/boost/math/common_factor_rt.hpp index 6200b96..e7b2500 100644 --- a/include/boost/math/common_factor_rt.hpp +++ b/include/boost/math/common_factor_rt.hpp @@ -303,7 +303,7 @@ namespace detail BOOST_PRIVATE_GCD_UF( unsigned long ); #ifdef BOOST_HAS_LONG_LONG - BOOST_PRIVATE_GCD_UF( unsigned long long ); + BOOST_PRIVATE_GCD_UF( boost::ulong_long_type ); #elif defined(BOOST_HAS_MS_INT64) BOOST_PRIVATE_GCD_UF( unsigned __int64 ); #endif @@ -325,7 +325,7 @@ namespace detail BOOST_PRIVATE_GCD_SF( char, unsigned char ); // should work even if unsigned #ifdef BOOST_HAS_LONG_LONG - BOOST_PRIVATE_GCD_SF( long long, unsigned long long ); + BOOST_PRIVATE_GCD_SF( boost::long_long_type, boost::ulong_long_type ); #elif defined(BOOST_HAS_MS_INT64) BOOST_PRIVATE_GCD_SF( __int64, unsigned __int64 ); #endif diff --git a/test/common_factor_test.cpp b/test/common_factor_test.cpp index c78b99b..65907b2 100644 --- a/test/common_factor_test.cpp +++ b/test/common_factor_test.cpp @@ -113,7 +113,7 @@ MyUnsigned2 dummy4; // Various types to test with each GCD/LCM typedef ::boost::mpl::list