diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2017-08-24 01:00:33 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2017-08-24 01:00:33 +0200 |
commit | 2462d1a77c8fd6263b0811b6a58ac686a3100de2 (patch) | |
tree | ef1b7b75ba24863b0d8afbccbfd09f68fd00beca /ext/mysqlnd/mysqlnd_wireprotocol.c | |
parent | 7d7be194d38d06056153ce9272544ec7c7fe10a7 (diff) | |
download | php-git-2462d1a77c8fd6263b0811b6a58ac686a3100de2.tar.gz |
Kill a compiler warning in ext/mysqlnd
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index 2a2cd9b977..b5ab7b1a56 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -538,7 +538,7 @@ size_t php_mysqlnd_auth_write(void * _packet) DBG_RETURN(0); } - int1store(p, packet->auth_data_len); + int1store(p, (int8_t)packet->auth_data_len); ++p; /*!!!!! is the buffer big enough ??? */ if (sizeof(buffer) < (packet->auth_data_len + (p - buffer))) { |