Module Name: src Committed By: rillig Date: Thu May 19 16:58:39 UTC 2022
Modified Files: src/games/gomoku: bdisp.c Log Message: gomoku: fix type mismatch in call to curses function Not yet detected by lint, as lint is more permissive for type mismatches if the value is a constant 0. Being permissive doesn't make sense in this case. Now the calls to 'keypad' and 'leaveok' are consistent. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/games/gomoku/bdisp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/gomoku/bdisp.c diff -u src/games/gomoku/bdisp.c:1.28 src/games/gomoku/bdisp.c:1.29 --- src/games/gomoku/bdisp.c:1.28 Wed May 18 22:30:19 2022 +++ src/games/gomoku/bdisp.c Thu May 19 16:58:39 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bdisp.c,v 1.28 2022/05/18 22:30:19 rillig Exp $ */ +/* $NetBSD: bdisp.c,v 1.29 2022/05/19 16:58:39 rillig Exp $ */ /* * Copyright (c) 1994 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95"; #else -__RCSID("$NetBSD: bdisp.c,v 1.28 2022/05/18 22:30:19 rillig Exp $"); +__RCSID("$NetBSD: bdisp.c,v 1.29 2022/05/19 16:58:39 rillig Exp $"); #endif #endif /* not lint */ @@ -71,7 +71,7 @@ cursinit(void) nonl(); noecho(); cbreak(); - leaveok(stdscr, FALSE); + leaveok(stdscr, false); #if 0 /* no mouse support in netbsd curses yet */ mousemask(BUTTON1_CLICKED, NULL);