1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00

Added second fix from #50987 that wasn't apart of Ilia's commit

This commit is contained in:
Kalle Sommer Nielsen
2010-11-20 20:59:28 +00:00
parent 3016ad46ae
commit 701bfaa2fa

View File

@@ -512,7 +512,7 @@ void phar_entry_remove(phar_entry_data *idata, char **error TSRMLS_DC) /* {{{ */
(buffer) += 2
#else
# define PHAR_GET_32(buffer, var) \
var = *(php_uint32*)(buffer); \
memcpy(&var, buffer, sizeof(var)); \
buffer += 4
# define PHAR_GET_16(buffer, var) \
var = *(php_uint16*)(buffer); \