diff options
author | rubidium <rubidium@openttd.org> | 2009-03-29 19:55:08 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-29 19:55:08 +0000 |
commit | 8293be426cc8e4c6b228f906d00838d02f6edd0a (patch) | |
tree | 416d2b6997d90c7f46c4891e99e681d33b3de66a /src/os/macosx/macos.mm | |
parent | c2ced41c044946dbc3dbfe0471816fc9d63401f1 (diff) | |
download | openttd-8293be426cc8e4c6b228f906d00838d02f6edd0a.tar.xz |
(svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes.
Diffstat (limited to 'src/os/macosx/macos.mm')
-rw-r--r-- | src/os/macosx/macos.mm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/os/macosx/macos.mm b/src/os/macosx/macos.mm index 090e5f4b3..a79626026 100644 --- a/src/os/macosx/macos.mm +++ b/src/os/macosx/macos.mm @@ -33,7 +33,7 @@ static char *GetOSString() const char *CPU; char OS[20]; char newgrf[125]; - long sysVersion; + SInt32 sysVersion; // get the hardware info host_basic_info_data_t hostInfo; @@ -201,7 +201,7 @@ const char *GetCurrentLocale(const char *) */ static long GetMacOSVersion() { - static long sysVersion = -1; + static SInt32 sysVersion = -1; if (sysVersion != -1) return sysVersion; @@ -211,7 +211,7 @@ static long GetMacOSVersion() long GetMacOSVersionMajor() { - static long sysVersion = -1; + static SInt32 sysVersion = -1; if (sysVersion != -1) return sysVersion; @@ -229,7 +229,7 @@ long GetMacOSVersionMajor() long GetMacOSVersionMinor() { - static long sysVersion = -1; + static SInt32 sysVersion = -1; if (sysVersion != -1) return sysVersion; @@ -247,7 +247,7 @@ long GetMacOSVersionMinor() long GetMacOSVersionBugfix() { - static long sysVersion = -1; + static SInt32 sysVersion = -1; if (sysVersion != -1) return sysVersion; |