diff --git a/src/openrct2/platform/Platform.macOS.mm b/src/openrct2/platform/Platform.macOS.mm index ab9c013548..225dff23da 100644 --- a/src/openrct2/platform/Platform.macOS.mm +++ b/src/openrct2/platform/Platform.macOS.mm @@ -108,7 +108,7 @@ namespace Platform @autoreleasepool { if (input == NULL) { - return NULL; + return 0; } NSString* inputDecomp = [NSString stringWithUTF8String:input];