Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55551 - trunk/libs/spirit/test/karma
From: hartmut.kaiser_at_[hidden]
Date: 2009-08-12 13:31:20


Author: hkaiser
Date: 2009-08-12 13:31:19 EDT (Wed, 12 Aug 2009)
New Revision: 55551
URL: http://svn.boost.org/trac/boost/changeset/55551

Log:
Spirit: fixed a problem with gcc 4.1
Text files modified:
   trunk/libs/spirit/test/karma/int_numerics.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/spirit/test/karma/int_numerics.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/int_numerics.cpp (original)
+++ trunk/libs/spirit/test/karma/int_numerics.cpp 2009-08-12 13:31:19 EDT (Wed, 12 Aug 2009)
@@ -154,7 +154,7 @@
         BOOST_TEST(test("0", lit(0LL)));
 #endif
 
- BOOST_TEST(test("0", lit(unsigned short(0))));
+ BOOST_TEST(test("0", lit((unsigned short)0)));
         BOOST_TEST(test("0", lit(0U)));
         BOOST_TEST(test("0", lit(0UL)));
 #ifdef BOOST_HAS_LONG_LONG


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk