From: Stanislav Malyshev Date: Fri, 26 Nov 2004 13:17:30 +0000 (+0000) Subject: 'l' is long - int won't work on 64-bit X-Git-Tag: RELEASE_0_2~621 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=808d9b035f52c34ad2539acd08f05ba97b49ca26;p=php 'l' is long - int won't work on 64-bit --- diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index b8fa042947..298ee3a1b0 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -1581,7 +1581,8 @@ PHP_FUNCTION(sqlite_fetch_column_types) zval *object = getThis(); struct php_sqlite_result res; const char **rowdata, **colnames, *tail; - int i, ncols, result_type = PHPSQLITE_ASSOC; + int i, ncols; + long result_type = PHPSQLITE_ASSOC; if (object) { if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &tbl, &tbl_len, &result_type)) {