Don't use NULL when an integer is needed.
This commit is contained in:
parent
02cccbc650
commit
df214f1879
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bicons.c,v 1.6 2002/09/06 13:18:43 gehenna Exp $ */
|
||||
/* $NetBSD: bicons.c,v 1.7 2003/10/22 08:58:38 agc Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999-2001
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bicons.c,v 1.6 2002/09/06 13:18:43 gehenna Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bicons.c,v 1.7 2003/10/22 08:58:38 agc Exp $");
|
||||
|
||||
#define HALF_FONT
|
||||
|
||||
|
@ -258,7 +258,7 @@ void
|
|||
bicons_puts(char *s)
|
||||
{
|
||||
while (*s)
|
||||
biconscnputc(NULL, *s++);
|
||||
biconscnputc(0, *s++);
|
||||
}
|
||||
|
||||
|
||||
|
@ -266,7 +266,7 @@ void
|
|||
bicons_putn(const char *s, int n)
|
||||
{
|
||||
while (0 < n--)
|
||||
biconscnputc(NULL, *s++);
|
||||
biconscnputc(0, *s++);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue