summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/grot/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/regex/grot/debug.c')
-rw-r--r--lib/libc/regex/grot/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/grot/debug.c b/lib/libc/regex/grot/debug.c
index caa2ca3..af8e4f5 100644
--- a/lib/libc/regex/grot/debug.c
+++ b/lib/libc/regex/grot/debug.c
@@ -186,7 +186,7 @@ FILE *d;
fprintf(d, ">");
break;
default:
- fprintf(d, "!%d(%d)!", OP(*s), opnd);
+ fprintf(d, "!%ld(%ld)!", OP(*s), (long)opnd);
break;
}
if (!done)
OpenPOWER on IntegriCloud