Commit ef44dab4 authored by Tatsuya Kinoshita's avatar Tatsuya Kinoshita

Fix printf format specifier mismatch when REGEX_DEBUG

parent 045aae70
...@@ -580,7 +580,7 @@ regmatch_iter(struct MatchingContext1 *c, ...@@ -580,7 +580,7 @@ regmatch_iter(struct MatchingContext1 *c,
c->lastpos = c->str; c->lastpos = c->str;
if (verbose) 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 #endif
YIELD(1, c, 7); YIELD(1, c, 7);
return 0; return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment