+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
exit(U_MEMORY_ALLOCATION_ERROR);
}
if(items && itemCount>0) {
- uprv_memcpy(newItems, items, itemCount*sizeof(items[0]));
+ uprv_memcpy(newItems, items, (size_t)itemCount*sizeof(items[0]));
}
itemMax = max;
items = newItems;