summaryrefslogtreecommitdiff
path: root/lib/libc/regex/grot/debug.c
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-12-13 03:51:49 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-12-13 03:51:49 +0000
commit9422dd393e1a9fac9c65c0df288b2b124d5155b8 (patch)
tree963f33cb99ff76dd9a0d1f773bc344ab00ba0cb8 /lib/libc/regex/grot/debug.c
parent6907e304ed18ae2bd1fe495c35e48abd2cd1eccc (diff)
Notes
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 caa2ca39612d3..af8e4f5a1d721 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)