diff options
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/common/ucharstriebuilder.cpp')
-rw-r--r-- | Build/source/libs/icu/icu-src/source/common/ucharstriebuilder.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/libs/icu/icu-src/source/common/ucharstriebuilder.cpp b/Build/source/libs/icu/icu-src/source/common/ucharstriebuilder.cpp index 05255b48c9b..412a58a45d6 100644 --- a/Build/source/libs/icu/icu-src/source/common/ucharstriebuilder.cpp +++ b/Build/source/libs/icu/icu-src/source/common/ucharstriebuilder.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) 2010-2012, International Business Machines @@ -115,7 +117,7 @@ UCharsTrieBuilder::add(const UnicodeString &s, int32_t value, UErrorCode &errorC return *this; } if(elementsLength>0) { - uprv_memcpy(newElements, elements, elementsLength*sizeof(UCharsTrieElement)); + uprv_memcpy(newElements, elements, (size_t)elementsLength*sizeof(UCharsTrieElement)); } delete[] elements; elements=newElements; |