com php-src: adjust datatype, used for position handling: ext/mbstring/libmbfl/mbfl/mbfilter.c
| From: | Anatol Belski | Date: | Sun, 23 Jul 2017 14:37:31 +0000 |
| Subject: | com php-src: adjust datatype, used for position handling: ext/mbstring/libmbfl/mbfl/mbfilter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98755@lists.php.net to get a copy of this message | ||
Commit: 7496bad2ace2be2c0d967f7afefd6e9c8e96af79
Author: Anatol Belski <ab@php.net> Sun, 23 Jul 2017 16:36:42 +0200
Parents: ea83b69883f3f77fd27e4663fa854c88f141ab41
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7496bad2ace2be2c0d967f7afefd6e9c8e96af79
Log:
adjust datatype, used for position handling
Changed paths:
M ext/mbstring/libmbfl/mbfl/mbfilter.c
Diff:
diff --git a/ext/mbstring/libmbfl/mbfl/mbfilter.c b/ext/mbstring/libmbfl/mbfl/mbfilter.c
index a58acca..7346102 100644
--- a/ext/mbstring/libmbfl/mbfl/mbfilter.c
+++ b/ext/mbstring/libmbfl/mbfl/mbfilter.c
@@ -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) {