diff options
| author | Anatol Belski <ab@php.net> | 2014-09-02 15:54:16 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-09-02 15:56:13 +0200 |
| commit | fee39d0868e416d80b4cf3f3c206d3c43c02ef6a (patch) | |
| tree | 406bcb2c96d0df13fc162cd5c66798ebf7700017 /ext/mysqlnd/mysqlnd_ps.c | |
| parent | e3da88b898943f24ad74c8b5c47ba47b85fd90fc (diff) | |
| download | php-git-fee39d0868e416d80b4cf3f3c206d3c43c02ef6a.tar.gz | |
fix type
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index e2745d8729..458ce47ff6 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -905,7 +905,7 @@ mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES * result, void * param, unsigned i #endif if (!Z_ISNULL_P(data)) { if ((Z_TYPE_P(data) == IS_STRING) && - (meta->fields[i].max_length < (unsigned long) Z_STRLEN_P(data))) { + (meta->fields[i].max_length < (zend_ulong) Z_STRLEN_P(data))) { meta->fields[i].max_length = Z_STRLEN_P(data); } ZVAL_COPY_VALUE(result, data); @@ -1093,7 +1093,7 @@ mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, unsigned int f if (!Z_ISNULL_P(data)) { if ((Z_TYPE_P(data) == IS_STRING) && - (meta->fields[i].max_length < (unsigned long) Z_STRLEN_P(data))) { + (meta->fields[i].max_length < (zend_ulong) Z_STRLEN_P(data))) { meta->fields[i].max_length = Z_STRLEN_P(data); } ZVAL_COPY_VALUE(result, data); |
