aboutsummaryrefslogtreecommitdiff
path: root/test/common/list.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-04-21 19:14:11 +0000
committerJohannes Schickel2009-04-21 19:14:11 +0000
commit1453f1849b254d7e68675d0ff3da990b5749f82b (patch)
treea3149ea2de7b6441518873d3b921bfde8f36b292 /test/common/list.h
parent283788ec4e39018ce10909d4b9f543025103bf5c (diff)
downloadscummvm-rg350-1453f1849b254d7e68675d0ff3da990b5749f82b.tar.gz
scummvm-rg350-1453f1849b254d7e68675d0ff3da990b5749f82b.tar.bz2
scummvm-rg350-1453f1849b254d7e68675d0ff3da990b5749f82b.zip
Fix warnings (patch for array.h was supplied via salty-horse on IRC).
svn-id: r40054
Diffstat (limited to 'test/common/list.h')
-rw-r--r--test/common/list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/common/list.h b/test/common/list.h
index ef00a0d2a9..629150d554 100644
--- a/test/common/list.h
+++ b/test/common/list.h
@@ -18,13 +18,13 @@ class ListTestSuite : public CxxTest::TestSuite
public:
void test_size() {
Common::List<int> container;
- TS_ASSERT_EQUALS( container.size(), 0 );
+ TS_ASSERT_EQUALS( container.size(), (unsigned int)0 );
container.push_back(17);
- TS_ASSERT_EQUALS( container.size(), 1 );
+ TS_ASSERT_EQUALS( container.size(), (unsigned int)1 );
container.push_back(33);
- TS_ASSERT_EQUALS( container.size(), 2 );
+ TS_ASSERT_EQUALS( container.size(), (unsigned int)2 );
container.clear();
- TS_ASSERT_EQUALS( container.size(), 0 );
+ TS_ASSERT_EQUALS( container.size(), (unsigned int)0 );
}
void test_iterator_begin_end() {