summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_webdata_transfer.h
diff options
context:
space:
mode:
authorSebastian Ramadan <plebbyastian@gmail.com>2017-12-17 00:21:47 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-12-17 00:24:45 +0100
commit168c6cda8f906b72025f9cd9aadad48553dd5764 (patch)
tree372f68df86556dba7c04903d1c4e9a3e5f4498f4 /sapi/phpdbg/phpdbg_webdata_transfer.h
parente835e3c1324bd5e285afd8403f7554c7a2fe3f4f (diff)
downloadphp-git-168c6cda8f906b72025f9cd9aadad48553dd5764.tar.gz
Transmit phpdbg webdata len in little-endian
Rather than using machine-endianness through a UB cast.
Diffstat (limited to 'sapi/phpdbg/phpdbg_webdata_transfer.h')
-rw-r--r--sapi/phpdbg/phpdbg_webdata_transfer.h2
1 files changed, 1 insertions, 1 deletions
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 */