summaryrefslogtreecommitdiff
path: root/src/doc-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc-util.c')
-rw-r--r--src/doc-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc-util.c b/src/doc-util.c
index fd41d7b..26b3f86 100644
--- a/src/doc-util.c
+++ b/src/doc-util.c
@@ -132,7 +132,7 @@ int doc_atoi(const char *number)
if ((errno == ERANGE && (val == LONG_MAX || val == LONG_MIN))
|| (errno != 0 && val == 0)) {
- doc_dbgE("strtol, val = %d", val);
+ doc_dbgE("strtol, val = %ld", val);
return -1;
}