summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/i18n/collationfastlatinbuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/i18n/collationfastlatinbuilder.cpp')
-rw-r--r--deps/icu-small/source/i18n/collationfastlatinbuilder.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/icu-small/source/i18n/collationfastlatinbuilder.cpp b/deps/icu-small/source/i18n/collationfastlatinbuilder.cpp
index d5acda15b0..032e5e82aa 100644
--- a/deps/icu-small/source/i18n/collationfastlatinbuilder.cpp
+++ b/deps/icu-small/source/i18n/collationfastlatinbuilder.cpp
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2013-2015, International Business Machines
@@ -147,7 +149,7 @@ CollationFastLatinBuilder::loadGroups(const CollationData &data, UErrorCode &err
// missing data
return FALSE;
}
- result.append(0); // reserve a slot for this group
+ result.append((UChar)0); // reserve a slot for this group
}
firstDigitPrimary = data.getFirstPrimaryForGroup(UCOL_REORDER_CODE_DIGIT);
@@ -564,7 +566,7 @@ CollationFastLatinBuilder::encodeCharCEs(UErrorCode &errorCode) {
if(U_FAILURE(errorCode)) { return FALSE; }
int32_t miniCEsStart = result.length();
for(int32_t i = 0; i < CollationFastLatin::NUM_FAST_CHARS; ++i) {
- result.append(0); // initialize to completely ignorable
+ result.append((UChar)0); // initialize to completely ignorable
}
int32_t indexBase = result.length();
for(int32_t i = 0; i < CollationFastLatin::NUM_FAST_CHARS; ++i) {