summaryrefslogtreecommitdiff
path: root/regex/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex/debug.c')
-rw-r--r--regex/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex/debug.c b/regex/debug.c
index 145a9736d39..8c6fd14a209 100644
--- a/regex/debug.c
+++ b/regex/debug.c
@@ -217,7 +217,7 @@ FILE *d;
fprintf(d, ">");
break;
default:
- fprintf(d, "!%d(%d)!", OP(*s), opnd);
+ fprintf(d, "!%ld(%ld)!", OP(*s), opnd);
break;
}
if (!done)