summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-10 16:15:42 +0000
committerrubidium <rubidium@openttd.org>2010-08-10 16:15:42 +0000
commit91f31b59e84cf54fa522cda02c1145c773640ecf (patch)
tree1b215dda498d049606c36c040b70825ababe4202 /src
parent2a9f9b092b01f72348d24531449eab06e87bc6d3 (diff)
downloadopenttd-91f31b59e84cf54fa522cda02c1145c773640ecf.tar.xz
(svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int
Diffstat (limited to 'src')
-rw-r--r--src/crashlog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/crashlog.cpp b/src/crashlog.cpp
index d77c7637d..ce17ea556 100644
--- a/src/crashlog.cpp
+++ b/src/crashlog.cpp
@@ -109,25 +109,25 @@ char *CrashLog::LogConfiguration(char *buffer, const char *last) const
buffer += seprintf(buffer, last,
"Configuration:\n"
" Blitter: %s\n"
- " Graphics set: %s (%d)\n"
+ " Graphics set: %s (%u)\n"
" Language: %s\n"
" Music driver: %s\n"
- " Music set: %s (%d)\n"
+ " Music set: %s (%u)\n"
" Network: %s\n"
" Sound driver: %s\n"
- " Sound set: %s (%d)\n"
+ " Sound set: %s (%u)\n"
" Video driver: %s\n\n",
BlitterFactoryBase::GetCurrentBlitter() == NULL ? "none" : BlitterFactoryBase::GetCurrentBlitter()->GetName(),
BaseGraphics::GetUsedSet() == NULL ? "none" : BaseGraphics::GetUsedSet()->name,
- BaseGraphics::GetUsedSet() == NULL ? -1 : BaseGraphics::GetUsedSet()->version,
+ BaseGraphics::GetUsedSet() == NULL ? UINT32_MAX : BaseGraphics::GetUsedSet()->version,
StrEmpty(_dynlang.curr_file) ? "none" : _dynlang.curr_file,
_music_driver == NULL ? "none" : _music_driver->GetName(),
BaseMusic::GetUsedSet() == NULL ? "none" : BaseMusic::GetUsedSet()->name,
- BaseMusic::GetUsedSet() == NULL ? -1 : BaseMusic::GetUsedSet()->version,
+ BaseMusic::GetUsedSet() == NULL ? UINT32_MAX : BaseMusic::GetUsedSet()->version,
_networking ? (_network_server ? "server" : "client") : "no",
_sound_driver == NULL ? "none" : _sound_driver->GetName(),
BaseSounds::GetUsedSet() == NULL ? "none" : BaseSounds::GetUsedSet()->name,
- BaseSounds::GetUsedSet() == NULL ? -1 : BaseSounds::GetUsedSet()->version,
+ BaseSounds::GetUsedSet() == NULL ? UINT32_MAX : BaseSounds::GetUsedSet()->version,
_video_driver == NULL ? "none" : _video_driver->GetName()
);