diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-03-29 10:16:55 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2016-03-29 10:16:55 +0000 |
commit | ef44dab4cb033d36b0c65866f4cfe975a8b6d65f (patch) | |
tree | 9f1c95b3b5fd3b9c1d2736be2d26ecd8ae750f4a | |
parent | Fix invalid braces when not Linux or FreeBSD (diff) | |
download | w3m-ef44dab4cb033d36b0c65866f4cfe975a8b6d65f.tar.gz w3m-ef44dab4cb033d36b0c65866f4cfe975a8b6d65f.zip |
Fix printf format specifier mismatch when REGEX_DEBUG
Diffstat (limited to '')
-rw-r--r-- | regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |