X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..ef6cf650f4a75c3f97de06b51fa104f2069b9ea2:/icuSources/test/perf/ubrkperf/ubrkperf.cpp diff --git a/icuSources/test/perf/ubrkperf/ubrkperf.cpp b/icuSources/test/perf/ubrkperf/ubrkperf.cpp index cd84edf9..eb2cde7d 100644 --- a/icuSources/test/perf/ubrkperf/ubrkperf.cpp +++ b/icuSources/test/perf/ubrkperf/ubrkperf.cpp @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (C) 2001-2011 International Business Machines Corporation + * Copyright (C) 2001-2016 International Business Machines Corporation * and others. All Rights Reserved. * ********************************************************************/ @@ -15,6 +15,7 @@ ********************************************************************************* */ +#include "cmemory.h" #include "ubrkperf.h" #include "uoptions.h" #include @@ -192,7 +193,7 @@ m_file_(NULL), m_fileLen_(0) { - _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, (int32_t)(sizeof(options)/sizeof(options[0])), options); + _remainingArgc = u_parseArgs(_remainingArgc, (char**)argv, UPRV_LENGTHOF(options), options); if(options[0].doesOccur) {