summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-17 14:23:25 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-17 15:02:35 +0200
commitb0661a96677bf2e1688852ab4260e159dc53d8ea (patch)
treede096c73e97ce1d8034e14342f260bcf5520c5b6 /ext/pdo_mysql/php_pdo_mysql_int.h
parentc584e84043468fd806f696a926d8e00bed11282c (diff)
downloadphp-git-b0661a96677bf2e1688852ab4260e159dc53d8ea.tar.gz
Fix warnings when building against libmysqlclient
At least for version 8.0 this is warning free now.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rw-r--r--ext/pdo_mysql/php_pdo_mysql_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 3957a6c824..cfe1d68e49 100644
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -123,7 +123,7 @@ typedef struct {
#ifdef PDO_USE_MYSQLND
const size_t *current_lengths;
#else
- zend_long *current_lengths;
+ unsigned long *current_lengths;
#endif
pdo_mysql_error_info einfo;
#ifdef PDO_USE_MYSQLND