summaryrefslogtreecommitdiff
path: root/src/win32.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-05-11 18:48:05 +0000
committersmatz <smatz@openttd.org>2009-05-11 18:48:05 +0000
commit0b547928bea2b5dc089ee71ccc5da061d4d7e5b3 (patch)
tree2f08c77865c7bb340011fe77508936b49fbe3418 /src/win32.cpp
parent15a5a33c70c068d39dfec6b3c0b1c999d347be00 (diff)
downloadopenttd-0b547928bea2b5dc089ee71ccc5da061d4d7e5b3.tar.xz
(svn r16281) -Fix: silence some of compile farm warnings for target win9x
Diffstat (limited to 'src/win32.cpp')
-rw-r--r--src/win32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index 471801e93..8e1b34346 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -1219,7 +1219,7 @@ const char *FS2OTTD(const TCHAR *name)
wchar_t w;
int len = MultiByteToWideChar(_codepage, 0, name, 1, &w, 1);
if (len != 1) {
- DEBUG(misc, 0, "[utf8] M2W error converting '%c'. Errno %d", *name, GetLastError());
+ DEBUG(misc, 0, "[utf8] M2W error converting '%c'. Errno %lu", *name, GetLastError());
continue;
}
@@ -1258,7 +1258,7 @@ const TCHAR *OTTD2FS(const char *name)
char mb;
int len = WideCharToMultiByte(_codepage, 0, (wchar_t*)&c, 1, &mb, 1, NULL, NULL);
if (len != 1) {
- DEBUG(misc, 0, "[utf8] W2M error converting '0x%X'. Errno %d", c, GetLastError());
+ DEBUG(misc, 0, "[utf8] W2M error converting '0x%X'. Errno %lu", c, GetLastError());
continue;
}