diff options
author | jsm <jsm@NetBSD.org> | 1999-09-18 19:38:46 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 1999-09-18 19:38:46 +0000 |
commit | 623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f (patch) | |
tree | 75e04a7aee754535f179cbf6b43570d46e5e75e7 /phantasia | |
parent | fa213838b361bf110cedaa5fd78622fe38c911e2 (diff) | |
download | bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.tar.gz bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.tar.zst bsdgames-darwin-623e5e8eddc42ee4e3cff7c418dc2d3d4e96193f.zip |
Fix -Wsign-compare warnings.
Diffstat (limited to 'phantasia')
-rw-r--r-- | phantasia/interplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phantasia/interplayer.c b/phantasia/interplayer.c index 3f215463..993c1621 100644 --- a/phantasia/interplayer.c +++ b/phantasia/interplayer.c @@ -1,4 +1,4 @@ -/* $NetBSD: interplayer.c,v 1.5 1999/09/08 21:57:19 jsm Exp $ */ +/* $NetBSD: interplayer.c,v 1.6 1999/09/18 19:38:52 jsm Exp $ */ /* * interplayer.c - player to player routines for Phantasia @@ -685,7 +685,7 @@ dotampered() break; case '3': /* create energy void */ - if ((loc = allocvoid()) > 20L * SZ_VOIDSTRUCT) + if ((loc = allocvoid()) > 20L * (long)SZ_VOIDSTRUCT) /* can only have 20 void active at once */ mvaddstr(5, 0, "Sorry, void creation limit reached.\n"); else { |