Both legs of the conditional operator must return the same type.

This commit is contained in:
gmcgarry 2008-08-29 00:37:38 +00:00
parent 5a8a518ea5
commit 81f725f1e0

View File

@ -1,4 +1,4 @@
/* $NetBSD: header.h,v 1.21 2008/02/03 20:11:05 dholland Exp $ */
/* $NetBSD: header.h,v 1.22 2008/08/29 00:37:38 gmcgarry Exp $ */
/* header.h Larn is copyrighted 1986 by Noah Morgan. */
@ -429,7 +429,7 @@ extern int rmst, lasttime;
#endif /* VT100 */
/* macro to output one byte to the output buffer */
#define lprc(ch) ((lpnt>=lpend)?(*lpnt++ =(ch), lflush()):(*lpnt++ =(ch)))
#define lprc(ch) ((lpnt>=lpend)?(void)(*lpnt++ = (ch), lflush()):(void)(*lpnt++ = (ch)))
/* macro to seed the random number generator */
#define seedrand(x) (randx=x)