64-bit fixes

This commit is contained in:
Ard Biesheuvel 2004-02-23 16:26:34 +00:00
parent 1d0596dbef
commit b2bc520067
2 changed files with 3 additions and 2 deletions

View file

@ -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();

View file

@ -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;