revision 1058:37f6fdc738e7
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1058:37f6fdc738e7 |
parent | 1057:6f2158c421bb |
child | 1059:ea2311906607 |
author | nkeynes |
date | Sun Jun 28 23:03:06 2009 +0000 (14 years ago) |
Replace NSInteger with int - 10.4 build doesn't like NSInteger
1.1 --- a/src/cocoaui/cocoa_ctrl.m Sun Jun 28 12:08:16 2009 +00001.2 +++ b/src/cocoaui/cocoa_ctrl.m Sun Jun 28 23:03:06 2009 +00001.3 @@ -597,7 +597,7 @@1.4 NSOpenPanel *panel = [NSOpenPanel openPanel];1.5 VMULoadValidator *valid = [[VMULoadValidator alloc] autorelease];1.6 [panel setDelegate: valid];1.7 - NSInteger result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]1.8 + int result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]1.9 file: nil types: array];1.10 if( result == NSOKButton ) {1.11 vmu_filename = [[panel filename] UTF8String];1.12 @@ -617,7 +617,7 @@1.13 [panel setRequiredFileType: @"vmu"];1.14 VMUCreateValidator *valid = [[VMUCreateValidator alloc] autorelease];1.15 [panel setDelegate: valid];1.16 - NSInteger result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]1.17 + int result = [panel runModalForDirectory: [NSString stringWithUTF8String: get_gui_path(CONFIG_VMU_PATH)]1.18 file: nil];1.19 if( result == NSFileHandlingPanelOKButton ) {1.20 /* Validator has already created the file by now */
.