summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 11166dafe..e6fb61292 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -81,7 +81,7 @@ struct DebugLevel {
*/
char *DumpDebugFacilityNames(char *buf, char *last)
{
- int length = 0;
+ size_t length = 0;
for (const DebugLevel *i = debug_level; i != endof(debug_level); ++i) {
if (length == 0) {
buf = strecpy(buf, "List of debug facility names:\n", last);