diff options
author | truelight <truelight@openttd.org> | 2006-02-13 22:11:03 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-02-13 22:11:03 +0000 |
commit | 3d3ba2bb34b469c709c96042305072c75feb4bef (patch) | |
tree | a89cf71bec8113c1d2547d197e398230c2af38b7 | |
parent | 576d32b2102cdccc52f5e7273cb0dd97f93aaad8 (diff) | |
download | openttd-3d3ba2bb34b469c709c96042305072c75feb4bef.tar.xz |
(svn r3601) -Codechange: special for Tron, and he was absolutely correct in thisone: added a comment for last commit
-rw-r--r-- | settings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.c b/settings.c index e6d70a00f..678f5e4e6 100644 --- a/settings.c +++ b/settings.c @@ -813,6 +813,7 @@ static const SettingDesc misc_settings[] = { {"news_display_opt", SDT_UINT32, "0xAAAAAAAA", &_news_display_opt, NULL}, // default to all full messages: 10101010101010101010 = 0xAAAAAAAA {"news_ticker_sound", SDT_BOOL, (void*)true, &_news_ticker_sound, NULL}, {"fullscreen", SDT_BOOL, (void*)false, &_fullscreen, NULL}, + /* Added the (uint32) cast in the next 3 lines, to suppress a warning on 64bit targets -- TrueLight */ {"videodriver", SDT_STRINGBUF | ((uint32)lengthof(_ini_videodriver)<<16) | SDT_NOSAVE,NULL, _ini_videodriver, NULL}, {"musicdriver", SDT_STRINGBUF | ((uint32)lengthof(_ini_musicdriver)<<16) | SDT_NOSAVE,NULL, _ini_musicdriver, NULL}, {"sounddriver", SDT_STRINGBUF | ((uint32)lengthof(_ini_sounddriver)<<16) | SDT_NOSAVE,NULL, _ini_sounddriver, NULL}, |