Skip to content

Commit 526049b

Browse files
committed
toke.c: strlen returns size_t, not int
1 parent 59bca40 commit 526049b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toke.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4616,10 +4616,10 @@ S_intuit_more(pTHX_ char *s, char *e)
46164616
* identifier already found in the program by that name. If so,
46174617
* strongly suspect this isn't a character class */
46184618
if (isWORDCHAR_lazy_if_safe(s+1, PL_bufend, UTF)) {
4619-
int len;
4619+
Size_t len;
46204620
char tmpbuf[ C_ARRAY_LENGTH(PL_tokenbuf) * 4 ];
46214621
scan_ident(s, tmpbuf, C_ARRAY_END(tmpbuf), FALSE);
4622-
len = (int)strlen(tmpbuf);
4622+
len = strlen(tmpbuf);
46234623
if ( len > 1
46244624
&& gv_fetchpvn_flags(tmpbuf,
46254625
len,

0 commit comments

Comments
 (0)