| Index: source/common/cpputils.h
|
| diff --git a/source/common/cpputils.h b/source/common/cpputils.h
|
| index b2e0cbc8d61cc77e919e53f8062ea7ab309b7720..57af69a71294834affd64a347a940dfb71d34705 100644
|
| --- a/source/common/cpputils.h
|
| +++ b/source/common/cpputils.h
|
| @@ -1,3 +1,5 @@
|
| +// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
| +// License & terms of use: http://www.unicode.org/copyright.html
|
| /*
|
| ******************************************************************************
|
| *
|
| @@ -24,45 +26,45 @@
|
|
|
| static
|
| inline void uprv_arrayCopy(const double* src, double* dst, int32_t count)
|
| -{ uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void uprv_arrayCopy(const double* src, int32_t srcStart,
|
| double* dst, int32_t dstStart, int32_t count)
|
| -{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void uprv_arrayCopy(const int8_t* src, int8_t* dst, int32_t count)
|
| - { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); }
|
| + { uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void uprv_arrayCopy(const int8_t* src, int32_t srcStart,
|
| int8_t* dst, int32_t dstStart, int32_t count)
|
| -{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void uprv_arrayCopy(const int16_t* src, int16_t* dst, int32_t count)
|
| -{ uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void uprv_arrayCopy(const int16_t* src, int32_t srcStart,
|
| int16_t* dst, int32_t dstStart, int32_t count)
|
| -{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void uprv_arrayCopy(const int32_t* src, int32_t* dst, int32_t count)
|
| -{ uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst, src, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void uprv_arrayCopy(const int32_t* src, int32_t srcStart,
|
| int32_t* dst, int32_t dstStart, int32_t count)
|
| -{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); }
|
|
|
| static
|
| inline void
|
| uprv_arrayCopy(const UChar *src, int32_t srcStart,
|
| UChar *dst, int32_t dstStart, int32_t count)
|
| -{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); }
|
| +{ uprv_memcpy(dst+dstStart, src+srcStart, (size_t)count * sizeof(*src)); }
|
|
|
| /**
|
| * Copy an array of UnicodeString OBJECTS (not pointers).
|
|
|