diff options
author | Charles Bailey <bailey@newman.upenn.edu> | 2000-02-09 09:29:06 +0000 |
---|---|---|
committer | bailey <bailey@newman.upenn.edu> | 2000-02-09 09:29:06 +0000 |
commit | 67aad85c4f9b5ae1b18aaea6fe21566e6c85758b (patch) | |
tree | 390fd784f9a50e98480a55eebff4c6572fca6702 /mg.h | |
parent | e3452c925e206be49789aa5b7fa43c27923b0f33 (diff) | |
download | perl-67aad85c4f9b5ae1b18aaea6fe21566e6c85758b.tar.gz |
Minor fixes to assuage picky compilers (unsigned comparisons and
alias rules lead to compilation warnings)
p4raw-id: //depot/vmsperl@5050
Diffstat (limited to 'mg.h')
-rw-r--r-- | mg.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ struct magic { #define MgTAINTEDDIR_on(mg) (mg->mg_flags |= MGf_TAINTEDDIR) #define MgTAINTEDDIR_off(mg) (mg->mg_flags &= ~MGf_TAINTEDDIR) -#define MgPV(mg,lp) (((lp = (mg)->mg_len) == HEf_SVKEY) ? \ +#define MgPV(mg,lp) ((((int)(lp = (mg)->mg_len)) == HEf_SVKEY) ? \ SvPV((SV*)((mg)->mg_ptr),lp) : \ (mg)->mg_ptr) |