From 2462d1a77c8fd6263b0811b6a58ac686a3100de2 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 24 Aug 2017 01:00:33 +0200 Subject: [PATCH] Kill a compiler warning in ext/mysqlnd --- ext/mysqlnd/mysqlnd_wireprotocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) { -- 2.40.0