X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/57a6839dcb3bba09e8228b822b290604668416fe..ef6cf650f4a75c3f97de06b51fa104f2069b9ea2:/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp?ds=inline diff --git a/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp b/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp index be59fc30..0e5d3a8a 100644 --- a/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp +++ b/icuSources/test/perf/howExpensiveIs/howExpensiveIs.cpp @@ -1,12 +1,13 @@ /* ********************************************************************** - * Copyright (c) 2011-2014,International Business Machines + * Copyright (c) 2011-2016,International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** */ #include #include +#include "cmemory.h" #include "sieve.h" #include "unicode/utimer.h" #include "udbgutil.h" @@ -698,7 +699,7 @@ QuickTest(NumParseTestbeng,{ static UChar pattern[] = { 0x23 }; NumParseTe UDateFormat *DateFormatTest_fmt = NULL; UDate sometime = 100000000.0; UChar onekbuf[1024]; -const int32_t onekbuf_len = sizeof(onekbuf)/sizeof(onekbuf[0]); +const int32_t onekbuf_len = UPRV_LENGTHOF(onekbuf); QuickTest(DateFormatTestBasic, \