ICU-2699 Fix some compiler warnings

X-SVN-Rev: 12157
This commit is contained in:
George Rhoten 2003-05-29 17:09:39 +00:00
parent 3e9f1b7ea5
commit a94d09c3b5
3 changed files with 4 additions and 2 deletions

View File

@ -152,7 +152,7 @@ static UBool _load() {
* unnecessary function call. If the data is not loaded, call _load()
* to load it, and return TRUE if the load succeeds.
*/
static UBool inline load() {
static inline UBool load() {
umtx_lock(NULL);
UBool f = (PNAME!=NULL);
umtx_unlock(NULL);

View File

@ -73,7 +73,9 @@
/* the global mutex. Use it proudly and wash it often. */
static UMTX gGlobalMutex = NULL;
# ifdef _DEBUG
static int32_t gRecursionCount; /* Detect Recursive entries. For debugging only. */
# endif
#if defined(WIN32)
static CRITICAL_SECTION gPlatformMutex;

View File

@ -206,7 +206,7 @@ unorm_cleanup() {
dataErrorCode=U_ZERO_ERROR;
haveNormData=0;
for(i=0; i<LENGTHOF(nxCache); ++i) {
for(i=0; i<(int32_t)LENGTHOF(nxCache); ++i) {
delete nxCache[i];
}
uprv_memset(nxCache, 0, sizeof(nxCache));