]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/rbbistbl.cpp
ICU-57165.0.1.tar.gz
[apple/icu.git] / icuSources / common / rbbistbl.cpp
index cbcd3815509349a3eeb485fef9f83eea60551ef2..c2fdf8233514ce41e03b3969646742cc9a1fadcf 100644 (file)
@@ -3,8 +3,8 @@
 //
 /*
 ***************************************************************************
-*   Copyright (C) 2002-2006 International Business Machines Corporation   *
-*   and others. All rights reserved.                                      *
+*   Copyright (C) 2002-2014 International Business Machines Corporation
+*   and others. All rights reserved.
 ***************************************************************************
 */
 
@@ -29,7 +29,7 @@
 //
 U_CDECL_BEGIN
 static void U_CALLCONV RBBISymbolTableEntry_deleter(void *p) {
-    U_NAMESPACE_QUALIFIER RBBISymbolTableEntry *px = (U_NAMESPACE_QUALIFIER RBBISymbolTableEntry *)p;
+    icu::RBBISymbolTableEntry *px = (icu::RBBISymbolTableEntry *)p;
     delete px;
 }
 U_CDECL_END
@@ -230,7 +230,7 @@ void RBBISymbolTable::rbbiSymtablePrint() const {
            "Name               Node Val     String Val\n"
            "----------------------------------------------------------------------\n");
 
-    int32_t pos = -1;
+    int32_t pos = UHASH_FIRST;
     const UHashElement  *e   = NULL;
     for (;;) {
         e = uhash_nextElement(fHashTable,  &pos);