diff options
-rw-r--r-- | ext/sqlite/sqlite.c | 2 | ||||
-rw-r--r-- | ext/standard/streamsfuncs.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index 91e2710657..b3b390ea35 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -1823,7 +1823,7 @@ PHP_FUNCTION(sqlite_fetch_all) PHP_FUNCTION(sqlite_fetch_array) { zval *zres; - int mode = PHPSQLITE_BOTH; + long mode = PHPSQLITE_BOTH; zend_bool decode_binary = 1; struct php_sqlite_result *res; zval *object = getThis(); diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index de041415d4..d61963004a 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -954,7 +954,8 @@ static void apply_filter_to_stream(int append, INTERNAL_FUNCTION_PARAMETERS) zval *zstream; php_stream *stream; char *filtername; - int filternamelen, read_write = 0; + int filternamelen; + long read_write = 0; zval *filterparams = NULL; php_stream_filter *filter; |