From 3930882ae2607ed6e84b7e01af5c2b18c4d2c7c3 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 16 Jan 2001 02:41:17 +0000 Subject: avoid C sequence point issues warned about by development version of gcc. --- monop/misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'monop/misc.c') diff --git a/monop/misc.c b/monop/misc.c index 635604c6..f06ae323 100644 --- a/monop/misc.c +++ b/monop/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.9 1999/09/30 18:01:32 jsm Exp $ */ +/* $NetBSD: misc.c,v 1.10 2001/01/16 02:41:17 cgd Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: misc.c,v 1.9 1999/09/30 18:01:32 jsm Exp $"); +__RCSID("$NetBSD: misc.c,v 1.10 2001/01/16 02:41:17 cgd Exp $"); #endif #endif /* not lint */ @@ -85,7 +85,7 @@ notify() void next_play() { - player = ++player % num_play; + player = (player + 1) % num_play; cur_p = &play[player]; num_doub = 0; } -- cgit v1.2.3-56-ge451