From 8d748d64e88b7b38acb55dffde5934fcbf9b3549 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 2 Aug 2024 20:27:33 -0700
Subject: [PATCH] Fixed compiler warning building for macOS
---
src/video/cocoa/SDL_cocoaevents.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video/cocoa/SDL_cocoaevents.m b/src/video/cocoa/SDL_cocoaevents.m
index 52790a92d4de5..02b0edc5e87da 100644
--- a/src/video/cocoa/SDL_cocoaevents.m
+++ b/src/video/cocoa/SDL_cocoaevents.m
@@ -195,7 +195,7 @@ - (void)dealloc
}
}
-- (void)windowWillClose:(NSNotification *)notification;
+- (void)windowWillClose:(NSNotification *)notification
{
NSWindow *win = (NSWindow *)[notification object];