diff options
author | Max Horn | 2008-09-16 11:57:45 +0000 |
---|---|---|
committer | Max Horn | 2008-09-16 11:57:45 +0000 |
commit | 9d96d9d3806c43107ffcf4173bd99c3d10eeb565 (patch) | |
tree | 65fb14a375b3b62b41b0fd97aea457edd6a82a4a /test/common/bufferedseekablereadstream.h | |
parent | 5a1c593bf288f93a777499619e51c60ea3f0fe48 (diff) | |
download | scummvm-rg350-9d96d9d3806c43107ffcf4173bd99c3d10eeb565.tar.gz scummvm-rg350-9d96d9d3806c43107ffcf4173bd99c3d10eeb565.tar.bz2 scummvm-rg350-9d96d9d3806c43107ffcf4173bd99c3d10eeb565.zip |
Fix sign warnings in unit tests
svn-id: r34580
Diffstat (limited to 'test/common/bufferedseekablereadstream.h')
-rw-r--r-- | test/common/bufferedseekablereadstream.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/common/bufferedseekablereadstream.h b/test/common/bufferedseekablereadstream.h index aa3bd9225c..f039acd2a8 100644 --- a/test/common/bufferedseekablereadstream.h +++ b/test/common/bufferedseekablereadstream.h @@ -33,37 +33,37 @@ class BufferedSeekableReadStreamTestSuite : public CxxTest::TestSuite { Common::BufferedSeekableReadStream ssrs(&ms, 4); byte b; - TS_ASSERT_EQUALS( ssrs.pos(), (uint32)0 ); + TS_ASSERT_EQUALS( ssrs.pos(), 0 ); ssrs.seek(1, SEEK_SET); - TS_ASSERT_EQUALS( ssrs.pos(), (uint32)1 ); + TS_ASSERT_EQUALS( ssrs.pos(), 1 ); b = ssrs.readByte(); TS_ASSERT_EQUALS( b, 1 ); ssrs.seek(5, SEEK_CUR); - TS_ASSERT_EQUALS( ssrs.pos(), (uint32)7 ); + TS_ASSERT_EQUALS( ssrs.pos(), 7 ); b = ssrs.readByte(); TS_ASSERT_EQUALS( b, 7 ); ssrs.seek(-3, SEEK_CUR); - TS_ASSERT_EQUALS( ssrs.pos(), (uint32)5 ); + TS_ASSERT_EQUALS( ssrs.pos(), 5 ); b = ssrs.readByte(); TS_ASSERT_EQUALS( b, 5 ); ssrs.seek(0, SEEK_END); - TS_ASSERT_EQUALS( ssrs.pos(), (uint32)10 ); + TS_ASSERT_EQUALS( ssrs.pos(), 10 ); TS_ASSERT( !ssrs.eos() ); b = ssrs.readByte(); TS_ASSERT( ssrs.eos() ); ssrs.seek(3, SEEK_END); TS_ASSERT( !ssrs.eos() ); - TS_ASSERT_EQUALS( ssrs.pos(), (uint32)7 ); + TS_ASSERT_EQUALS( ssrs.pos(), 7 ); b = ssrs.readByte(); TS_ASSERT_EQUALS( b, 7 ); ssrs.seek(8, SEEK_END); - TS_ASSERT_EQUALS( ssrs.pos(), (uint32)2 ); + TS_ASSERT_EQUALS( ssrs.pos(), 2 ); b = ssrs.readByte(); TS_ASSERT_EQUALS( b, 2 ); } |