summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc/regex/debug.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1996-12-21 22:23:36 +0000
committermillert <millert@openbsd.org>1996-12-21 22:23:36 +0000
commit07ea8d1515ffde9f9d310504e9c8852d6bf7074c (patch)
treeb1b274b8fe893c81d243175ec21a32f3400dc0c3 /regress/lib/libc/regex/debug.c
parent$Id -> $OpenBSD (diff)
downloadwireguard-openbsd-07ea8d1515ffde9f9d310504e9c8852d6bf7074c.tar.xz
wireguard-openbsd-07ea8d1515ffde9f9d310504e9c8852d6bf7074c.zip
-Wall madness.
Diffstat (limited to 'regress/lib/libc/regex/debug.c')
-rw-r--r--regress/lib/libc/regex/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libc/regex/debug.c b/regress/lib/libc/regex/debug.c
index 861f550611e..41cd4a557d6 100644
--- a/regress/lib/libc/regex/debug.c
+++ b/regress/lib/libc/regex/debug.c
@@ -218,7 +218,7 @@ FILE *d;
fprintf(d, ">");
break;
default:
- fprintf(d, "!%d(%d)!", OP(*s), opnd);
+ fprintf(d, "!%ld(%ld)!", (long)OP(*s), (long)opnd);
break;
}
if (!done)