|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-04-18 20:23:19
Author: hkaiser
Date: 2008-04-18 20:23:19 EDT (Fri, 18 Apr 2008)
New Revision: 44564
URL: http://svn.boost.org/trac/boost/changeset/44564
Log:
Spirit.Qi: Fixed a big endian issue in tests/qi/binary.cpp
Text files modified:
trunk/libs/spirit/test/qi/binary.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/spirit/test/qi/binary.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/binary.cpp (original)
+++ trunk/libs/spirit/test/qi/binary.cpp 2008-04-18 20:23:19 EDT (Fri, 18 Apr 2008)
@@ -60,11 +60,11 @@
qword(0x0807060504030201LL)));
#endif
#else
- BOOST_TEST(test("\x01", 1, byte(0x01)));
- BOOST_TEST(test("\x01\x02", 2, word(0x0102)));
- BOOST_TEST(test("\x01\x02\x03\x04", 4, dword(0x01020304)));
+ BOOST_TEST(test("\x01", byte(0x01)));
+ BOOST_TEST(test("\x01\x02", word(0x0102)));
+ BOOST_TEST(test("\x01\x02\x03\x04", dword(0x01020304)));
#ifdef BOOST_HAS_LONG_LONG
- BOOST_TEST(test("\x01\x02\x03\x04\x05\x06\x07\x08", 8,
+ BOOST_TEST(test("\x01\x02\x03\x04\x05\x06\x07\x08",
qword(0x0102030405060708LL)));
#endif
#endif
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