aboutsummaryrefslogtreecommitdiff
path: root/test/common
diff options
context:
space:
mode:
authorJohannes Schickel2015-01-04 20:55:01 +0100
committerJohannes Schickel2015-01-04 21:09:32 +0100
commitf1e58efe90e2c3ae6740a41db4642b3e47c0c81f (patch)
treec70fe0b6c15aadf93d180cf1f7379a82af14a135 /test/common
parentce45caaf83cae5990416aa2d6e833f309f7ce5c0 (diff)
downloadscummvm-rg350-f1e58efe90e2c3ae6740a41db4642b3e47c0c81f.tar.gz
scummvm-rg350-f1e58efe90e2c3ae6740a41db4642b3e47c0c81f.tar.bz2
scummvm-rg350-f1e58efe90e2c3ae6740a41db4642b3e47c0c81f.zip
TEST: Fix C++11 compat warnings.
Diffstat (limited to 'test/common')
-rw-r--r--test/common/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/common/endian.h b/test/common/endian.h
index f083d1248c..08e93e41ef 100644
--- a/test/common/endian.h
+++ b/test/common/endian.h
@@ -11,13 +11,13 @@ class EndianTestSuite : public CxxTest::TestSuite
}
void test_READ_BE_UINT64() {
- const char data[8] = {0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF};
+ const byte data[8] = {0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF};
uint64 value = READ_BE_UINT64(data);
TS_ASSERT_EQUALS(value, 0x123456789ABCDEFFULL);
}
void test_READ_LE_UINT64() {
- const char data[8] = {0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF};
+ const byte data[8] = {0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF};
uint64 value = READ_LE_UINT64(data);
TS_ASSERT_EQUALS(value, 0xFFEDCBA978563412ULL);
}