+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
*
*******************************************************************************
* file name: sorttest.c
-* encoding: US-ASCII
+* encoding: UTF-8
* tab size: 8 (not used)
* indentation:4
*
/* for medium, add bits that will not be compared, to test stability */
for(i=0; i<UPRV_LENGTHOF(medium); ++i) {
- medium[i]=(medium[i]<<4)|i;
+ medium[i]=(int32_t)((uint32_t)medium[i]<<4) | i;
}
/* sort medium array (stable) */