diff options
| author | Andrey Hristov <andrey@php.net> | 2008-11-20 17:21:36 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2008-11-20 17:21:36 +0000 |
| commit | d43b7b022f3f654a7995f38eccb8a5d18b6c3402 (patch) | |
| tree | 7898d39509e774d917a308ba45217e266680d74f /ext/mysqlnd/mysqlnd_ps.c | |
| parent | e61c2e8c174f1bbdb0230d91723bb2a56a4b0e11 (diff) | |
| download | php-git-d43b7b022f3f654a7995f38eccb8a5d18b6c3402.tar.gz | |
MFH:
Windows fixes for mysqlnd
Less warnings + PHPAPI for mysqlnd_poll
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 415a8fb00c..78cdd8e74c 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -866,7 +866,7 @@ mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES *result, void *param, unsigned int || Z_TYPE_P(data) == IS_UNICODE #endif ) - && (result->meta->fields[i].max_length < Z_STRLEN_P(data))) + && (result->meta->fields[i].max_length < (unsigned long) Z_STRLEN_P(data))) { result->meta->fields[i].max_length = Z_STRLEN_P(data); } @@ -1034,7 +1034,7 @@ mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES *result, void *param, unsigned int fla || Z_TYPE_P(data) == IS_UNICODE #endif ) - && (result->meta->fields[i].max_length < Z_STRLEN_P(data))) + && (result->meta->fields[i].max_length < (unsigned long) Z_STRLEN_P(data))) { result->meta->fields[i].max_length = Z_STRLEN_P(data); } |
