diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-09 01:14:46 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-09 01:14:46 +0000 |
commit | a0be28da97d0d38b5ef9181812da403f4e9ce11f (patch) | |
tree | 363e657363e23c4ea5b8cbf5917925d3a1c1a111 /toke.c | |
parent | 81793b9077171abb50d56e2bdf5d4208e13a783d (diff) | |
download | perl-a0be28da97d0d38b5ef9181812da403f4e9ce11f.tar.gz |
avoid mismatched expectation <-> int types for C++ builds
p4raw-id: //depot/perl@4672
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -672,7 +672,7 @@ S_uni(pTHX_ I32 f, char *s) */ STATIC I32 -S_lop(pTHX_ I32 f, expectation x, char *s) +S_lop(pTHX_ I32 f, int x, char *s) { dTHR; yylval.ival = f; @@ -5707,7 +5707,7 @@ S_scan_ident(pTHX_ register char *s, register char *send, char *dest, STRLEN des funny, dest, brack, funny, dest, brack); } bracket++; - PL_lex_brackstack[PL_lex_brackets++] = XOPERATOR | XFAKEBRACK; + PL_lex_brackstack[PL_lex_brackets++] = (char)(XOPERATOR | XFAKEBRACK); return s; } } |