From b38c2aaebd74bf528138ba08b71c19b17a6de7df Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Fri, 14 Apr 2017 12:02:40 +0000 Subject: [PATCH] Adjust two match frame variables to save space in 8-bit mode. --- src/pcre2_intmodedep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pcre2_intmodedep.h b/src/pcre2_intmodedep.h index b6b478f..731c0e5 100644 --- a/src/pcre2_intmodedep.h +++ b/src/pcre2_intmodedep.h @@ -774,8 +774,8 @@ typedef struct heapframe { uint32_t rdepth; /* "Recursion" depth */ uint32_t group_frame_type; /* Type information for group frames */ uint32_t temp_32[4]; /* Used for short-term 32-bit or BOOL values */ - uint16_t return_id; /* Where to go on in internal "return" */ - uint16_t op; /* Processing opcode */ + uint8_t return_id; /* Where to go on in internal "return" */ + uint8_t op; /* Processing opcode */ #if PCRE2_CODE_UNIT_WIDTH == 8 PCRE2_UCHAR occu[6]; /* Used for other case code units */