Fix build on macos the second

This commit is contained in:
Linus Dierheimer
2022-09-19 21:45:39 +02:00
parent d5846d94ca
commit f3e6d04c8e
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ bool ffCfDictGetString(CFDictionaryRef dict, CFStringRef key, FFstrbuf* result)
{
// CFStringGetCString ensures the buffer is NUL terminated
// https://developer.apple.com/documentation/corefoundation/1542721-cfstringgetcstring
result->length = strnlen(result->chars, (uint32_t)result->allocated);
result->length = (uint32_t) strnlen(result->chars, (uint32_t)result->allocated);
}
}
else if(CFGetTypeID(cf) == CFDataGetTypeID())