aboutsummaryrefslogtreecommitdiff
path: root/src/test_regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_regexp.c')
-rw-r--r--src/test_regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_regexp.c b/src/test_regexp.c
index 2fede8c4e..da86b69aa 100644
--- a/src/test_regexp.c
+++ b/src/test_regexp.c
@@ -385,8 +385,8 @@ static unsigned re_esc_char(ReCompiled *p){
if( p->sIn.i>=p->sIn.mx ) return 0;
c = p->sIn.z[p->sIn.i];
if( c=='u' && p->sIn.i+5<p->sIn.mx ){
- v = 0;
const unsigned char *zIn = p->sIn.z + p->sIn.i;
+ v = 0;
if( re_hex(zIn[1],&v)
&& re_hex(zIn[2],&v)
&& re_hex(zIn[3],&v)