summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-03-04 18:23:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-04 18:23:58 +0000
commit8b107d6cb2a0c976b0321c9b0efd1d21d07fe6a1 (patch)
tree8e9e04db63b7c4f5da4224cbc524c9419651fa75 /toke.c
parentdb615365202f390b6c9c07819116dcb70ebcf654 (diff)
downloadperl-8b107d6cb2a0c976b0321c9b0efd1d21d07fe6a1.tar.gz
Integrate change #9012 from maintperl into mainline,
quench a compiler warning. p4raw-link: @9012 on //depot/maint-5.6/perl: 8cbd449d930e1c59a4de92147cce022b8fa8f4a4 p4raw-id: //depot/perl@9020 p4raw-integrated: from //depot/maint-5.6/perl@9012 'merge in' toke.c (@9010..)
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index e312c4eef1..063ccd1c93 100644
--- a/toke.c
+++ b/toke.c
@@ -1245,7 +1245,7 @@ S_scan_const(pTHX_ char *start)
char *e = d++;
while (e-- > c)
*(e + 1) = *e;
- *c = 0xff;
+ *c = (char)0xff;
/* mark the range as done, and continue */
dorange = FALSE;
didrange = TRUE;