X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/48b980fed3435926e0b3a8d72ecb58be703a1c7a..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/common/brkeng.cpp diff --git a/icuSources/common/brkeng.cpp b/icuSources/common/brkeng.cpp index 2419be5f..6d1fa366 100644 --- a/icuSources/common/brkeng.cpp +++ b/icuSources/common/brkeng.cpp @@ -1,6 +1,6 @@ /** ************************************************************************************ - * Copyright (C) 2006-2007, International Business Machines Corporation and others. * + * Copyright (C) 2006-2009, International Business Machines Corporation and others. * * All Rights Reserved. * ************************************************************************************ */ @@ -262,7 +262,7 @@ ICULanguageBreakFactory::loadDictionaryFor(UScriptCode script, int32_t /*breakTy UChar* extStart=u_strchr(dictfname, 0x002e); int len = 0; if(extStart!=NULL){ - len = extStart-dictfname; + len = (int)(extStart-dictfname); u_UCharsToChars(extStart+1, ext, sizeof(ext)); // nul terminates the buff u_UCharsToChars(dictfname, dictnbuff, len); }