diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-01-02 00:20:37 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-01-02 00:20:37 +0000 |
commit | 1d0ba25a660483da1272a31dd077ed94441e3d9f (patch) | |
tree | 1d8dee52cd1e3d340fe178a8193dc96c4496db84 /regex.c | |
parent | Merge branch 'cvstrunk' into upstream (diff) | |
download | w3m-upstream/0.5.3+git20210102.tar.gz w3m-upstream/0.5.3+git20210102.zip |
New upstream version 0.5.3+git20210102upstream/0.5.3+git20210102upstream
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ static longchar set_longchar(char *str) { unsigned char *p = (unsigned char *)str; - longchar r; + longchar r = { }; #ifdef USE_M17N if (*p & 0x80) { @@ -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; |