diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-03-02 13:12:45 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-03-02 13:12:45 +0000 |
commit | c366cc6d1ac32ef94eeee12e641b2ea24ebceb12 (patch) | |
tree | 934afd6672482d14bcbf17f3312aa68b83ed7d20 /ext/sqlite/sqlite.c | |
parent | 8f567a5abb99b86886ede2d886507e2c22a2d67e (diff) | |
download | php-git-c366cc6d1ac32ef94eeee12e641b2ea24ebceb12.tar.gz |
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
Diffstat (limited to 'ext/sqlite/sqlite.c')
-rw-r--r-- | ext/sqlite/sqlite.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c index 1068a1d0ab..b1df8487db 100644 --- a/ext/sqlite/sqlite.c +++ b/ext/sqlite/sqlite.c @@ -1685,7 +1685,7 @@ PHP_FUNCTION(sqlite_fetch_column_types) char *tmp = colnames[ncols + i] ? (char *)colnames[ncols + i] : ""; UErrorCode status = U_ZERO_ERROR; UChar *u_str; - int32_t u_len; + int u_len; zend_convert_to_unicode(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &u_str, &u_len, tmp, strlen(tmp), &status); if (result_type == PHPSQLITE_ASSOC) { @@ -1851,7 +1851,7 @@ static void php_sqlite_fetch_array(struct php_sqlite_result *res, int mode, zend if (UG(unicode)) { UErrorCode status = U_ZERO_ERROR; UChar *u_str; - int32_t u_len; + int u_len; zend_convert_to_unicode(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &u_str, &u_len, (char*)rowdata[j], strlen((char*)rowdata[j]), &status); ZVAL_UNICODEL(decoded, u_str, u_len, 0); @@ -1939,7 +1939,7 @@ static void php_sqlite_fetch_column(struct php_sqlite_result *res, zval *which, } else if (UG(unicode)) { UErrorCode status = U_ZERO_ERROR; UChar *u_str; - int32_t u_len; + int u_len; zend_convert_to_unicode(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &u_str, &u_len, (char*)rowdata[j], strlen((char*)rowdata[j]), &status); RETVAL_UNICODEL(u_str, u_len, 0); @@ -2271,7 +2271,7 @@ static void php_sqlite_fetch_single(struct php_sqlite_result *res, zend_bool dec } else if (UG(unicode)) { UErrorCode status = U_ZERO_ERROR; UChar *u_str; - int32_t u_len; + int u_len; zend_convert_to_unicode(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &u_str, &u_len, decoded, decoded_len, &status); if (free_decoded) { |