projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4400b3f
)
In Perl_magic_setsig(), silence a "possible loss of data" warning.
Nicholas Clark [Fri, 22 May 2009 09:11:33 +0000 (10:11 +0100)]
mg.c
patch
|
blob
|
blame
|
history
diff --git
a/mg.c
b/mg.c
index
c6f483e
..
e9e4214
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-1423,7
+1423,8
@@
Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg)
else {
i = (I16)mg->mg_private;
if (!i) {
- mg->mg_private = i = whichsig(s); /* ...no, a brick */
+ i = whichsig(s); /* ...no, a brick */
+ mg->mg_private = (U16)i;
}
if (i <= 0) {
if (sv && ckWARN(WARN_SIGNAL))