shithub: openh264

Download patch

ref: 8363d43588e9f02423cd62fb0d9bcc4d1fc0721c
parent: 6239fbe131bbcaa71269f02bd28f228a28f7395a
author: Martin Storsjö <martin@martin.st>
date: Tue Oct 13 08:27:11 EDT 2015

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;