diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-05-19 09:11:18 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-05-19 09:11:18 +0100 |
commit | de1aadee289722478c19f211f0fa3a38e7e66b6f (patch) | |
tree | c8219fca7f48fd631197dd49eb58b40d72432a9c /ui | |
parent | 89424ff32f5c106f90627c7abe019c81c716fd13 (diff) | |
download | qemu-de1aadee289722478c19f211f0fa3a38e7e66b6f.tar.gz qemu-de1aadee289722478c19f211f0fa3a38e7e66b6f.tar.bz2 qemu-de1aadee289722478c19f211f0fa3a38e7e66b6f.zip |
ui/cocoa: openPanelDidEnd returnCode should be NSInteger, not int
The type for openPanelDidEnd's returnCode argument should be NSInteger,
not int. This only matters for the OSX 10.5 code path where we pass
the method directly to an OSX function to call.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1431296361-16981-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cocoa.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m index f6c5fb41aa..563ea47253 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -787,7 +787,7 @@ QemuCocoaView *cocoaView; { } - (void)startEmulationWithArgc:(int)argc argv:(char**)argv; -- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo; +- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo; - (void)doToggleFullScreen:(id)sender; - (void)toggleFullScreen:(id)sender; - (void)showQEMUDoc:(id)sender; @@ -890,7 +890,7 @@ QemuCocoaView *cocoaView; exit(status); } -- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo +- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo { COCOA_DEBUG("QemuCocoaAppController: openPanelDidEnd\n"); |