aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 5675d09..93406e8 100644
--- a/regex.c
+++ b/regex.c
@@ -580,7 +580,7 @@ regmatch_iter(struct MatchingContext1 *c,
c->lastpos = c->str;
#ifdef REGEX_DEBUG
if (verbose)
- printf("Succeed: %s %d\n", c->str, c->lastpos - c->str);
+ printf("Succeed: %s %ld\n", c->str, (long)(c->lastpos - c->str));
#endif
YIELD(1, c, 7);
return 0;