summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2016-03-22 19:43:21 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2016-03-22 19:46:06 -0400
commit99315af872aaf23d9620b68b29cdc34181bf06c7 (patch)
tree3c3c0a4e6ef59bdd4bdfe08a008f79e2a88fc04c /util.c
parentb10f34abb55ae2504baa9b770b3bff979de781c2 (diff)
downloadperl-99315af872aaf23d9620b68b29cdc34181bf06c7.tar.gz
[perl #127764] Perl with '-Dusecbacktrace' doesn't compile on darwin
Fix a thinko in 22ff3130.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index fa27ecb0da..c1c854f9c0 100644
--- a/util.c
+++ b/util.c
@@ -6185,7 +6185,7 @@ static const char* atos_parse(const char* p,
*source_name_size = source_name_end - p;
if (grok_atoUV(source_number_start, &uv, &source_line_end)
&& source_line_end == close_paren
- && uv <= MAX_STRLEN
+ && uv <= PERL_INT_MAX
) {
*source_line = (STRLEN)uv;
return p;