diff options
author | mycroft <mycroft@NetBSD.org> | 1993-12-08 07:27:50 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1993-12-08 07:27:50 +0000 |
commit | 5b2c4c58d461c565135b4c88fcfe9c96dd39c83a (patch) | |
tree | 7a805f893c67950fcc67babb9f499bce6ed207bb /factor | |
parent | df0edf4ea48edcfa9346337234e78c4a63fdf4e2 (diff) | |
download | bsdgames-darwin-5b2c4c58d461c565135b4c88fcfe9c96dd39c83a.tar.gz bsdgames-darwin-5b2c4c58d461c565135b4c88fcfe9c96dd39c83a.tar.zst bsdgames-darwin-5b2c4c58d461c565135b4c88fcfe9c96dd39c83a.zip |
Eliminate a compiler warning.
Diffstat (limited to 'factor')
-rw-r--r-- | factor/factor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/factor/factor.c b/factor/factor.c index 79196c19..73f8f650 100644 --- a/factor/factor.c +++ b/factor/factor.c @@ -42,7 +42,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)factor.c 4.4 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$Id: factor.c,v 1.2 1993/08/01 18:54:58 mycroft Exp $"; +static char rcsid[] = "$Id: factor.c,v 1.3 1993/12/08 07:27:50 mycroft Exp $"; #endif /* not lint */ /* @@ -292,7 +292,7 @@ pr_fact(val) /* firewall - catch 0 and 1 */ switch (val) { - case -2147483648: + case -(2147483648U): /* avoid negation problems */ puts("-2147483648: -1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2\n"); return; |