]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/udata.cpp
ICU-511.32.tar.gz
[apple/icu.git] / icuSources / common / udata.cpp
index c4f8752a4ebb010ec4bf200884ea5c37a393c9fc..0837893eeb0fa8f71b1df87c33c77b3f3bb8e936 100644 (file)
@@ -806,7 +806,7 @@ static UBool extendICUData(UErrorCode *pErr)
      * Use a specific mutex to avoid nested locks of the global mutex.
      */
 #if MAP_IMPLEMENTATION==MAP_STDIO
-    static UMTX extendICUDataMutex = NULL;
+    static UMutex extendICUDataMutex = U_MUTEX_INITIALIZER;
     umtx_lock(&extendICUDataMutex);
 #endif
     if(!gHaveTriedToLoadCommonData) {