Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: source/tools/makeconv/makeconv.c

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/tools/makeconv/gencnvex.c ('k') | source/tools/pkgdata/pkgdata.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/tools/makeconv/makeconv.c
diff --git a/source/tools/makeconv/makeconv.c b/source/tools/makeconv/makeconv.c
index 424c962251138ce7dc9de7cb865fe198d689f0d6..4eabcba51f5135a651a8511dc1dce478792ada37 100644
--- a/source/tools/makeconv/makeconv.c
+++ b/source/tools/makeconv/makeconv.c
@@ -1,7 +1,7 @@
/*
********************************************************************************
*
- * Copyright (C) 1998-2012, International Business Machines
+ * Copyright (C) 1998-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
********************************************************************************
@@ -34,8 +34,6 @@
#include "makeconv.h"
#include "genmbcs.h"
-#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
-
#define DEBUG 0
typedef struct ConvData {
@@ -213,7 +211,7 @@ int main(int argc, char* argv[])
/* preset then read command line options */
options[OPT_DESTDIR].value=u_getDataDirectory();
- argc=u_parseArgs(argc, argv, LENGTHOF(options), options);
+ argc=u_parseArgs(argc, argv, UPRV_LENGTHOF(options), options);
/* error handling, printing usage message */
if(argc<0) {
« no previous file with comments | « source/tools/makeconv/gencnvex.c ('k') | source/tools/pkgdata/pkgdata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698