diff --git a/src/Platform.c b/src/Platform.c index 7bc8aca8b..d8ea8b51a 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -1864,7 +1864,7 @@ static cc_result GetMachineID(cc_uint32* key) { #ifdef kIOPlatformUUIDKey uuid = IORegistryEntryCreateCFProperty(registry, CFSTR(kIOPlatformUUIDKey), kCFAllocatorDefault, 0); - if (uuid && CFStringGetCString(uuid, tmp, sizeof(tmp), kCFStringEncodingUTF8))) { + if (uuid && CFStringGetCString(uuid, tmp, sizeof(tmp), kCFStringEncodingUTF8)) { DecodeMachineID(tmp, String_Length(tmp), key); } #endif