From owner-cvs-games Thu Sep 18 06:49:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA06699 for cvs-games-outgoing; Thu, 18 Sep 1997 06:49:59 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA06670; Thu, 18 Sep 1997 06:49:30 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA05860; Thu, 18 Sep 1997 06:45:37 -0700 (PDT) Date: Thu, 18 Sep 1997 06:45:37 -0700 (PDT) Message-Id: <199709181345.GAA05860@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-games@FreeBSD.ORG Subject: cvs commit: src/games/cribbage io.c score.c src/games/rogue inventory.c Sender: owner-cvs-games@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/09/18 06:45:36 PDT Modified files: games/cribbage io.c score.c games/rogue inventory.c Log: Many places in the code NULL is used in integer context, where plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul Revision Changes Path 1.2 +11 -11 src/games/cribbage/io.c 1.2 +4 -4 src/games/cribbage/score.c 1.2 +2 -2 src/games/rogue/inventory.c