File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -464,17 +464,10 @@ ZEND_ATTRIBUTE_NONNULL void phar_entry_remove(phar_entry_data *idata, char **err
464464 | ((uint32_t)(((unsigned char*)(buffer))[1]) << 8) \
465465 | ((uint32_t)((unsigned char*)(buffer))[0]); \
466466 (buffer) += 4
467- # define PHAR_GET_16 (buffer , var ) \
468- var = ((uint16_t)(((unsigned char*)(buffer))[1]) << 8) \
469- | ((uint16_t)((unsigned char*)(buffer))[0]); \
470- (buffer) += 2
471467#else
472468# define PHAR_GET_32 (buffer , var ) \
473469 memcpy(&var, buffer, sizeof(var)); \
474470 buffer += 4
475- # define PHAR_GET_16 (buffer , var ) \
476- var = *(uint16_t*)(buffer); \
477- buffer += 2
478471#endif
479472#define PHAR_ZIP_16 (var ) ((uint16_t)((((uint16_t)var[0]) & 0xff) | \
480473 (((uint16_t)var[1]) & 0xff) << 8))
You can’t perform that action at this time.
0 commit comments