diff options
author | dholland <dholland@NetBSD.org> | 2008-02-24 06:07:06 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-24 06:07:06 +0000 |
commit | 84200264cf0a41781f9ebd56643526065acec647 (patch) | |
tree | f64479ee04fe96f66a4bf7ca3f2b92e75da8f3a1 /monop/monop.h | |
parent | 26ed5a094d93bb19c3fa7e2a29ccca62a7955c64 (diff) | |
download | bsdgames-darwin-84200264cf0a41781f9ebd56643526065acec647.tar.gz bsdgames-darwin-84200264cf0a41781f9ebd56643526065acec647.tar.zst bsdgames-darwin-84200264cf0a41781f9ebd56643526065acec647.zip |
Fix a bit more lint.
Diffstat (limited to 'monop/monop.h')
-rw-r--r-- | monop/monop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monop/monop.h b/monop/monop.h index ad62ef62..bcbf97f7 100644 --- a/monop/monop.h +++ b/monop/monop.h @@ -1,4 +1,4 @@ -/* $NetBSD: monop.h,v 1.17 2008/02/24 03:01:13 dholland Exp $ */ +/* $NetBSD: monop.h,v 1.18 2008/02/24 06:07:06 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -67,7 +67,7 @@ #define lucky(str) printf("%s%s\n",str,lucky_mes[roll(1,num_luck)-1]) #define printline() printf("------------------------------\n") -#define sqnum(sqp) (sqp - board) +#define sqnum(sqp) ((short)(sqp - board)) struct sqr_st { /* structure for square */ const char *name; /* place name */ |