From 168c6cda8f906b72025f9cd9aadad48553dd5764 Mon Sep 17 00:00:00 2001 From: Sebastian Ramadan Date: Sun, 17 Dec 2017 00:21:47 +0100 Subject: Transmit phpdbg webdata len in little-endian Rather than using machine-endianness through a UB cast. --- sapi/phpdbg/phpdbg_webdata_transfer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_webdata_transfer.h') diff --git a/sapi/phpdbg/phpdbg_webdata_transfer.h b/sapi/phpdbg/phpdbg_webdata_transfer.h index b8da8c1fd3..b8473d30ef 100644 --- a/sapi/phpdbg/phpdbg_webdata_transfer.h +++ b/sapi/phpdbg/phpdbg_webdata_transfer.h @@ -22,6 +22,6 @@ #include "zend.h" #include "phpdbg.h" -PHPDBG_API void phpdbg_webdata_compress(char **msg, int *len); +PHPDBG_API void phpdbg_webdata_compress(char **msg, size_t *len); #endif /* PHPDBG_WEBDATA_TRANSFER_H */ -- cgit v1.2.1