diff options
| author | Manolo Gouy <Manolo> | 2015-12-03 17:18:33 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-12-03 17:18:33 +0000 |
| commit | f79f70b96a316e21486950a769958a7d7bdf7033 (patch) | |
| tree | 540eea881fe3291a23653fd2fd6f2b0f97c7a1e1 /src | |
| parent | 58afd21c7312c1d9225bded5fc1b6549b331b707 (diff) | |
Removed compilation warning with SDKs 10.3 and 10.4u
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index f29e96e67..ef4b06e14 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2726,7 +2726,13 @@ static FLTextInputContext* fltextinputcontext_instance = nil; return [[self window] level]; } -- (NSInteger)conversationIdentifier { +- ( +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 + NSInteger +#else + long +#endif +)conversationIdentifier { return identifier; } @end |
