summaryrefslogtreecommitdiff
path: root/dialog_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-29 14:08:01 -0400
committerPietro Gagliardi <[email protected]>2014-06-29 14:08:01 -0400
commit3ade409ddebc48f9960415816d2f4439c6d5d4ae (patch)
treebe4cbd4434bcc8ae6d8f21ba1ae0d3cafb09392a /dialog_darwin.m
parent580b06638fb8b59617c93a180cb8808623fb4521 (diff)
FIxed compilation errors in the Mac OS X build. It works, but I still need to fix dialogs before I can push anything.
Diffstat (limited to 'dialog_darwin.m')
-rw-r--r--dialog_darwin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/dialog_darwin.m b/dialog_darwin.m
index cd4e684..226ad4b 100644
--- a/dialog_darwin.m
+++ b/dialog_darwin.m
@@ -9,7 +9,7 @@
#define to(T, x) ((T *) (x))
#define toNSWindow(x) to(NSWindow, (x))
-static void alert(id parent, NSString *primary, NSString *secondary, NSAlertStyle style)
+static intptr_t alert(id parent, NSString *primary, NSString *secondary, NSAlertStyle style)
{
NSAlert *box;