projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646ca9b
)
Silence compiler warnings on Win32 (VC6)
author
Steve Hay
<SteveHay@planit.com>
Mon, 8 Oct 2007 08:46:36 +0000
(08:46 +0000)
committer
Steve Hay
<SteveHay@planit.com>
Mon, 8 Oct 2007 08:46:36 +0000
(08:46 +0000)
p4raw-id: //depot/perl@32064
regcomp.c
patch
|
blob
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
603fe5b
..
99cb464
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-1172,7
+1172,7
@@
is the recommended Unicode-aware way of saying
SvUTF8_on(zlopp); \
av_push(revcharmap, zlopp); \
} else { \
- char ooooff =
uvc;
\
+ char ooooff =
(char)uvc;
\
av_push(revcharmap, newSVpvn(&ooooff, 1)); \
} \
} STMT_END
@@
-6504,7
+6504,7
@@
S_reg_namedseq(pTHX_ RExC_state_t *pRExC_state, UV *valuep)
*valuep = cp;
return NULL;
}
- string = cp;
+ string =
(char)
cp;
sv_str= newSVpvn(&string, 1);
} else {
/* fetch the charnames handler for this scope */