X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/a0b4f637ba1a6c3c5651b61a69303b029bacf7d3..5ea0322b6ab2af986e4c764284141380031dd014:/icuSources/tools/tzcode/icuzdump.cpp diff --git a/icuSources/tools/tzcode/icuzdump.cpp b/icuSources/tools/tzcode/icuzdump.cpp index 3153b040..64b0efa5 100644 --- a/icuSources/tools/tzcode/icuzdump.cpp +++ b/icuSources/tools/tzcode/icuzdump.cpp @@ -34,6 +34,7 @@ #include "unicode/ustream.h" #include "unicode/putil.h" +#include "cmemory.h" #include "uoptions.h" using namespace std; @@ -289,7 +290,7 @@ main(int argc, char *argv[]) { const char *linesep = NULL; U_MAIN_INIT_ARGS(argc, argv); - argc = u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); + argc = u_parseArgs(argc, argv, UPRV_LENGTHOF(options), options); if (argc < 0) { cerr << "Illegal command line argument(s)" << endl << endl;