Use unsigned integer to hold font bits in putchar(). [This looks like the
source of glyph corruption].
This commit is contained in:
parent
8b165c84f7
commit
e6216650d8
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rasops1.c,v 1.6 1999/07/21 19:19:04 ad Exp $ */
|
||||
/* $NetBSD: rasops1.c,v 1.7 1999/07/25 17:36:40 ad Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "opt_rasops.h"
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rasops1.c,v 1.6 1999/07/21 19:19:04 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rasops1.c,v 1.7 1999/07/25 17:36:40 ad Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -98,7 +98,7 @@ rasops1_putchar(cookie, row, col, uc, attr)
|
|||
u_int uc;
|
||||
long attr;
|
||||
{
|
||||
int height, width, fs, rs, fb, bg, fg, lmask, rmask;
|
||||
u_int32_t height, width, fs, rs, fb, bg, fg, lmask, rmask;
|
||||
struct rasops_info *ri;
|
||||
int32_t *rp;
|
||||
u_char *fr;
|
||||
|
|
Loading…
Reference in New Issue