]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/bytestrietest.cpp
ICU-511.35.tar.gz
[apple/icu.git] / icuSources / test / intltest / bytestrietest.cpp
index 12101d2f0c8b39cfbb32d312d914184f1de7e641..2d7fa6ed0826b8af2e3961260d30c31c14f2ddcf 100644 (file)
@@ -1,6 +1,6 @@
 /*
 *******************************************************************************
-*   Copyright (C) 2010-2011, International Business Machines
+*   Copyright (C) 2010-2012, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *******************************************************************************
 *   file name:  bytetrietest.cpp
@@ -170,7 +170,7 @@ void BytesTrieTest::TestBranches() {
         { "t", 0x400000 },
         { "uu", 0x800000 },
         { "vv", 0x7fffffff },
-        { "zz", 0x80000000 }
+        { "zz", (int32_t)0x80000000 }
     };
     for(int32_t length=2; length<=LENGTHOF(data); ++length) {
         infoln("TestBranches length=%d", (int)length);
@@ -217,7 +217,7 @@ void BytesTrieTest::TestLongBranch() {
         { "r", 0x333333 },
         { "s2345", 0x4444444 },
         { "t234567890", 0x77777777 },
-        { "z", 0x80000001 }
+        { "z", (int32_t)0x80000001 }
     };
     checkData(data, LENGTHOF(data));
 }