Showing the changes to codec/encoder/core/src/property.cpp (1 of 14 files). Show all
Unified · Split
| @@ -64,7 +64,7 @@ int32_t GetCodeName (char* pBuf, int32_t iSize) { · 63 unmodified lines | ||
| 64 | 64 | if (NULL == pBuf) |
| 65 | 65 | return 0; |
| 66 | 66 | |
| 67 | − iLen = strlen (WELS_CODE_NAME); // confirmed_safe_unsafe_usage | |
| 67 | + iLen = (int32_t)strlen (WELS_CODE_NAME); // confirmed_safe_unsafe_usage | |
| 68 | 68 | if (iSize <= iLen) |
| 69 | 69 | return 0; |
| 70 | 70 | |
| @@ -85,7 +85,7 @@ int32_t GetLibName (char* pBuf, int32_t iSize) { · 14 unmodified lines | ||
| 85 | 85 | if (NULL == pBuf) |
| 86 | 86 | return 0; |
| 87 | 87 | |
| 88 | − iLen = strlen (WELS_LIB_NAME); // confirmed_safe_unsafe_usage | |
| 88 | + iLen = (int32_t)strlen (WELS_LIB_NAME); // confirmed_safe_unsafe_usage | |
| 89 | 89 | if (iSize <= iLen) |
| 90 | 90 | return 0; |
| 91 | 91 | |
| @@ -106,7 +106,7 @@ int32_t GetVerNum (char* pBuf, int32_t iSize) { · 14 unmodified lines | ||
| 106 | 106 | if (NULL == pBuf) |
| 107 | 107 | return 0; |
| 108 | 108 | |
| 109 | − iLen = strlen (WELS_VERSION_STR); // confirmed_safe_unsafe_usage | |
| 109 | + iLen = (int32_t)strlen (WELS_VERSION_STR); // confirmed_safe_unsafe_usage | |
| 110 | 110 | if (iSize <= iLen) |
| 111 | 111 | return 0; |
| 112 | 112 | |
| @@ -127,7 +127,7 @@ int32_t GetIdentInfo (char* pBuf, int32_t iSize) { · 14 unmodified lines | ||
| 127 | 127 | if (NULL == pBuf) |
| 128 | 128 | return 0; |
| 129 | 129 | |
| 130 | − iLen = strlen (WELS_IDENT); // confirmed_safe_unsafe_usage | |
| 130 | + iLen = (int32_t)strlen (WELS_IDENT); // confirmed_safe_unsafe_usage | |
| 131 | 131 | if (iSize <= iLen) |
| 132 | 132 | return 0; |
| 133 | 133 | |