]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/cintltst/citertst.c
ICU-57131.0.1.tar.gz
[apple/icu.git] / icuSources / test / cintltst / citertst.c
index c49487ab8d18cc0c613ad33058cfa9e35bae447a..ff96580c28a84184250ffc73d0434d5e01a2b826 100644 (file)
@@ -1,6 +1,6 @@
 /********************************************************************
  * COPYRIGHT:
- * Copyright (c) 1997-2014, International Business Machines Corporation and
+ * Copyright (c) 1997-2016, International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 /********************************************************************************
@@ -1134,7 +1134,7 @@ static const UChar tsceText[] = {   /* Nothing in here should be ignorable */
     0x0020, 0x1E4D,                 /* small letter o with tilde and acute, decomposes */
     0x0020
 };
-enum { kLen_tsceText = sizeof(tsceText)/sizeof(tsceText[0]) };
+enum { kLen_tsceText = UPRV_LENGTHOF(tsceText) };
 
 static const int32_t rootStandardOffsets[] = {
     0,  1,2,
@@ -1150,7 +1150,7 @@ static const int32_t rootStandardOffsets[] = {
     28,
     29
 };
-enum { kLen_rootStandardOffsets = sizeof(rootStandardOffsets)/sizeof(rootStandardOffsets[0]) };
+enum { kLen_rootStandardOffsets = UPRV_LENGTHOF(rootStandardOffsets) };
 
 static const int32_t rootSearchOffsets[] = {
     0,  1,2,
@@ -1166,7 +1166,7 @@ static const int32_t rootSearchOffsets[] = {
     28,
     29
 };
-enum { kLen_rootSearchOffsets = sizeof(rootSearchOffsets)/sizeof(rootSearchOffsets[0]) };
+enum { kLen_rootSearchOffsets = UPRV_LENGTHOF(rootSearchOffsets) };
 
 typedef struct {
     const char *    locale;