Merge pull request #2153 from mstorsjo/fix-warnings

Fix warnings when building for iOS with xcode
This commit is contained in:
HaiboZhu 2015-10-13 18:26:56 +08:00
commit 3067d127aa

View File

@ -243,7 +243,7 @@ int32_t WelsStrftime (char* pBuffer, int32_t iSize, const char* kpFormat, const
char* WelsStrcat (char* pDest, uint32_t uiSizeInBytes, const char* kpSrc) {
uint32_t uiCurLen = strlen (pDest);
uint32_t uiCurLen = (uint32_t) strlen (pDest);
if (uiSizeInBytes > uiCurLen)
return WelsStrncpy (pDest + uiCurLen, uiSizeInBytes - uiCurLen, kpSrc);
return pDest;