X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/2ca993e82fb37b597a3c73ecd1586a139a6579c5..a62d09fcbc8ca9da27887e04112ec143e19b1caf:/icuSources/test/intltest/colldata.cpp diff --git a/icuSources/test/intltest/colldata.cpp b/icuSources/test/intltest/colldata.cpp index 79d93654..0eb74af6 100644 --- a/icuSources/test/intltest/colldata.cpp +++ b/icuSources/test/intltest/colldata.cpp @@ -32,9 +32,9 @@ #include "colldata.h" -#define NEW_ARRAY(type, count) (type *) uprv_malloc((count) * sizeof(type)) +#define NEW_ARRAY(type, count) (type *) uprv_malloc((size_t)(count) * sizeof(type)) #define DELETE_ARRAY(array) uprv_free((void *) (array)) -#define ARRAY_COPY(dst, src, count) uprv_memcpy((void *) (dst), (void *) (src), (count) * sizeof (src)[0]) +#define ARRAY_COPY(dst, src, count) uprv_memcpy((void *) (dst), (void *) (src), (size_t)(count) * sizeof (src)[0]) CEList::CEList(UCollator *coll, const UnicodeString &string, UErrorCode &status) : ces(NULL), listMax(CELIST_BUFFER_SIZE), listSize(0)