OSDN Git Service

2002-06-04 Paolo Carlini <pcarlini@unitus.it>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 22_locale / num_put_members_char.cc
index 7966fb5..bd116e6 100644 (file)
@@ -208,8 +208,8 @@ void test01()
   VERIFY( result1.find('x') == 1 );
 
 #ifdef _GLIBCPP_USE_LONG_LONG
-  long long ll1 = 9223372036854775807;
-  long long ll2 = -9223372036854775807;
+  long long ll1 = 9223372036854775807LL;
+  long long ll2 = -9223372036854775807LL;
 
   oss.str(empty);
   oss.clear();
@@ -257,7 +257,7 @@ void test02()
   VERIFY( sanity1 == "1798" );
 
   // 02 put(long double)
-  const long double ld = 1798;
+  const long double ld = 1798.0;
   res = x;
   iter_type ret2 = tp.put(res.begin(), oss, ' ', ld);
   string sanity2(res.begin(), ret2);