ref: 3067d127aa1067a04b1d7f60cef3540b25c8351e
parent: 6c13a2c4966138ec7d4763557b3bfbb0b36401b1
parent: 8363d43588e9f02423cd62fb0d9bcc4d1fc0721c
author: HaiboZhu <haibozhu@cisco.com>
date: Tue Oct 13 14:26:56 EDT 2015
Merge pull request #2153 from mstorsjo/fix-warnings Fix warnings when building for iOS with xcode
--- a/codec/common/src/crt_util_safe_x.cpp
+++ b/codec/common/src/crt_util_safe_x.cpp
@@ -243,7 +243,7 @@
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;