diff options
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/common/messagepattern.cpp')
-rw-r--r-- | Build/source/libs/icu/icu-src/source/common/messagepattern.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/libs/icu/icu-src/source/common/messagepattern.cpp b/Build/source/libs/icu/icu-src/source/common/messagepattern.cpp index de0410b83c1..31d5bb7b9a6 100644 --- a/Build/source/libs/icu/icu-src/source/common/messagepattern.cpp +++ b/Build/source/libs/icu/icu-src/source/common/messagepattern.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) 2011-2012, International Business Machines @@ -114,7 +116,7 @@ MessagePatternList<T, stackCapacity>::copyFrom( errorCode=U_MEMORY_ALLOCATION_ERROR; return; } - uprv_memcpy(a.getAlias(), other.a.getAlias(), length*sizeof(T)); + uprv_memcpy(a.getAlias(), other.a.getAlias(), (size_t)length*sizeof(T)); } } |