X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/729e4ab9bc6618bc3d8a898e575df7f4019e29ca..HEAD:/icuSources/test/intltest/jamotest.cpp diff --git a/icuSources/test/intltest/jamotest.cpp b/icuSources/test/intltest/jamotest.cpp index e3053114..63925ab3 100644 --- a/icuSources/test/intltest/jamotest.cpp +++ b/icuSources/test/intltest/jamotest.cpp @@ -1,6 +1,8 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /******************************************************************** * COPYRIGHT: - * Copyright (c) 1997-2010, International Business Machines Corporation and + * Copyright (c) 1997-2016, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************** ************************************************************************ @@ -16,6 +18,7 @@ #include "jamotest.h" #include "unicode/utypes.h" #include "unicode/translit.h" +#include "cmemory.h" #include "cpdtrans.h" // SEP is the disambiguation separator used by Latin-Jamo and Jamo-Latin @@ -128,7 +131,7 @@ JamoTest::TestJamo() { "karka", "(Ki)(A)(L)(Ki)(A)", "kalka", }; - enum { CASE_length = sizeof(CASE) / sizeof(CASE[0]) }; + enum { CASE_length = UPRV_LENGTHOF(CASE) }; int32_t i; for (i=0; i