summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc/regex/debug.c
diff options
context:
space:
mode:
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)