summaryrefslogtreecommitdiff
path: root/src/misc/dbg_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/dbg_helpers.h')
-rw-r--r--src/misc/dbg_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h
index 7aecd9a02..65bf08a5c 100644
--- a/src/misc/dbg_helpers.h
+++ b/src/misc/dbg_helpers.h
@@ -1,4 +1,4 @@
-/* $Id:$ */
+/* $Id$ */
/** @file dbg_helpers.h */
@@ -67,7 +67,7 @@ inline CStrA ComposeNameT(E value, T &t, const char* t_unk, E val_inv, const cha
} else if (value == 0) {
out = "<none>";
} else {
- for (int i = 0; i < ArrayT<T>::length; i++) {
+ 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]);
value &= ~(E)(1 << i);