summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-23 22:03:36 +0000
committerrubidium <rubidium@openttd.org>2010-08-23 22:03:36 +0000
commitda4dc61f7619da291524c9f1dec6cff220adbdc8 (patch)
treebfb20b6721ba7c92cf10ef71318389ae3aed673c /src/misc
parent09d109a787668e592697db9a9d8d500dc2649fe9 (diff)
downloadopenttd-da4dc61f7619da291524c9f1dec6cff220adbdc8.tar.xz
(svn r20603) -Codechange: silence some ICC warnings
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/dbg_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h
index 379b2e82e..c83086f2a 100644
--- a/src/misc/dbg_helpers.h
+++ b/src/misc/dbg_helpers.h
@@ -79,7 +79,7 @@ inline CStrA ComposeNameT(E value, T &t, const char *t_unk, E val_inv, const cha
} else {
for (size_t i = 0; i < ArrayT<T>::length; i++) {
if ((value & (1 << i)) == 0) continue;
- out.AddFormat("%s%s", (out.Size() > 0 ? "+" : ""), t[i]);
+ out.AddFormat("%s%s", (out.Size() > 0 ? "+" : ""), (const char*)t[i]);
value &= ~(E)(1 << i);
}
if (value != 0) out.AddFormat("%s%s", (out.Size() > 0 ? "+" : ""), t_unk);