summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorCharles Bailey <bailey@newman.upenn.edu>2000-02-09 09:29:06 +0000
committerbailey <bailey@newman.upenn.edu>2000-02-09 09:29:06 +0000
commit32da55abecac94dc6a18cbca78eb8321199543f1 (patch)
tree390fd784f9a50e98480a55eebff4c6572fca6702 /pp_sys.c
parentcb50131aab68ac6dda048612c6e853b8cb08701e (diff)
downloadperl-32da55abecac94dc6a18cbca78eb8321199543f1.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 'pp_sys.c')
-rw-r--r--pp_sys.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pp_sys.c b/pp_sys.c
index a9292a1c83..75206c5be0 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1091,7 +1091,7 @@ PP(pp_getc)
GV *gv;
MAGIC *mg;
- if (MAXARG <= 0)
+ if (MAXARG == 0)
gv = PL_stdingv;
else
gv = (GV*)POPs;
@@ -1701,7 +1701,7 @@ PP(pp_eof)
GV *gv;
MAGIC *mg;
- if (MAXARG <= 0) {
+ if (MAXARG == 0) {
if (PL_op->op_flags & OPf_SPECIAL) { /* eof() */
IO *io;
gv = PL_last_in_gv = PL_argvgv;
@@ -1745,7 +1745,7 @@ PP(pp_tell)
GV *gv;
MAGIC *mg;
- if (MAXARG <= 0)
+ if (MAXARG == 0)
gv = PL_last_in_gv;
else
gv = PL_last_in_gv = (GV*)POPs;
@@ -1980,7 +1980,7 @@ PP(pp_flock)
#ifdef FLOCK
argtype = POPi;
- if (MAXARG <= 0)
+ if (MAXARG == 0)
gv = PL_last_in_gv;
else
gv = (GV*)POPs;