Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/games/monop/monop.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -p -r1.17 -r1.18 --- src/games/monop/monop.h 2008/02/24 03:01:13 1.17 +++ src/games/monop/monop.h 2008/02/24 06:07:06 1.18 @@ -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 */