]> granicus.if.org Git - php/commitdiff
adjust datatype, used for position handling
authorAnatol Belski <ab@php.net>
Sun, 23 Jul 2017 14:36:42 +0000 (16:36 +0200)
committerAnatol Belski <ab@php.net>
Sun, 23 Jul 2017 14:37:31 +0000 (16:37 +0200)
ext/mbstring/libmbfl/mbfl/mbfilter.c

index a58acca9d42b62c7d1a1e17e11c72437ea268fde..73461028d0c0cea309497c275fae1bb0a91732c9 100644 (file)
@@ -736,7 +736,8 @@ struct collector_strpos_data {
 static int
 collector_strpos(int c, void* data)
 {
-       int *p, *h, *m, n;
+       int *p, *h, *m;
+       ssize_t n;
        struct collector_strpos_data *pc = (struct collector_strpos_data*)data;
 
        if (pc->output >= pc->start) {