diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-02 07:12:10 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-02 07:12:10 +0000 |
commit | 25716404fbbde2ca91832aab8c9157aafcdcc7e8 (patch) | |
tree | 373243337e32a41b725e311b058e5b7c3ff247b1 /toke.c | |
parent | 8337181f54c3501595fb014edfb15b1033b90568 (diff) | |
download | perl-25716404fbbde2ca91832aab8c9157aafcdcc7e8.tar.gz |
win32 fixes: fix various syntax errors ("no preprocessor directives
within macro arguments") and warnings ("unary minus applied to
unsigned type", among others)
p4raw-id: //depot/perl@11066
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1257,7 +1257,7 @@ S_scan_const(pTHX_ char *start) char *e = d++; while (e-- > c) *(e + 1) = *e; - *c = UTF_TO_NATIVE(0xff); + *c = (char)UTF_TO_NATIVE(0xff); /* mark the range as done, and continue */ dorange = FALSE; didrange = TRUE; @@ -1308,7 +1308,7 @@ S_scan_const(pTHX_ char *start) Perl_croak(aTHX_ "Ambiguous range in transliteration operator"); } if (has_utf8) { - *d++ = UTF_TO_NATIVE(0xff); /* use illegal utf8 byte--see pmtrans */ + *d++ = (char)UTF_TO_NATIVE(0xff); /* use illegal utf8 byte--see pmtrans */ s++; continue; } |