Permalink
Browse files

tcsh: fix warning to keep compiling with WARNS=2

  • Loading branch information...
1 parent fe2f279 commit 3f64015900712dfd5edf4ead23d02f460982e2fa @corecode corecode committed with Matthew Dillon Sep 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 contrib/tcsh-6/sh.dol.c
View
@@ -625,7 +625,7 @@ Dgetdol(void)
for (i = 0; Isdigit(*np); i = i * 10 + *np++ - '0')
continue;
- if (i < 0 || i > upb && !any("-*", *np)) {
+ if (i < 0 || (i > upb && !any("-*", *np))) {
cleanup_until(name);
dolerror(vp->v_name);
return;

0 comments on commit 3f64015

Please sign in to comment.