diff options
Diffstat (limited to 'pcre_compile.c')
-rw-r--r-- | pcre_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_compile.c b/pcre_compile.c index 32e5b91..3be0fbf 100644 --- a/pcre_compile.c +++ b/pcre_compile.c @@ -7130,14 +7130,14 @@ for (;; ptr++) int n = 0; ptr++; while(IS_DIGIT(*ptr)) - { + { n = n * 10 + *ptr++ - CHAR_0; if (n > 255) { *errorcodeptr = ERR38; goto FAILED; } - } + } if (*ptr != CHAR_RIGHT_PARENTHESIS) { *errorcodeptr = ERR39; |