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

Unified Diff: source/common/usprep.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 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/common/uscript_props.cpp ('k') | source/common/ustr_imp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/usprep.cpp
diff --git a/source/common/usprep.cpp b/source/common/usprep.cpp
index dd0b101d745ddd4ef7e2aa549754ab50348eb13f..c1bd514065d1aa65a6c87de2bfdd464a8b997136 100644
--- a/source/common/usprep.cpp
+++ b/source/common/usprep.cpp
@@ -136,7 +136,7 @@ static int32_t
usprep_internal_flushCache(UBool noRefCount){
UStringPrepProfile *profile = NULL;
UStringPrepKey *key = NULL;
- int32_t pos = -1;
+ int32_t pos = UHASH_FIRST;
int32_t deletedNum = 0;
const UHashElement *e;
« no previous file with comments | « source/common/uscript_props.cpp ('k') | source/common/ustr_imp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698