Skip to content

Commit

Permalink
tcsh: fix warning to keep compiling with WARNS=2
Browse files Browse the repository at this point in the history
  • Loading branch information
corecode authored and Matthew Dillon committed Oct 1, 2009
1 parent fe2f279 commit 3f64015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/tcsh-6/sh.dol.c
Expand Up @@ -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;
Expand Down

0 comments on commit 3f64015

Please sign in to comment.