]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/ucharstrietest.cpp
ICU-511.34.tar.gz
[apple/icu.git] / icuSources / test / intltest / ucharstrietest.cpp
index b44789f1de6a33e4207597792a0d793877fbbed6..26c5d720cffeacdd8273ee4e47d4d6e79a4f73c4 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:  ucharstrietest.cpp
@@ -179,7 +179,7 @@ void UCharsTrieTest::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);
@@ -226,7 +226,7 @@ void UCharsTrieTest::TestLongBranch() {
         { "r", 0x333333 },
         { "s2345", 0x4444444 },
         { "t234567890", 0x77777777 },
-        { "z", 0x80000001 }
+        { "z", (int32_t)0x80000001 }
     };
     checkData(data, LENGTHOF(data));
 }