diff options
| author | ad <ad@NetBSD.org> | 1999-07-25 17:36:40 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 1999-07-25 17:36:40 +0000 |
| commit | e6216650d8c8ae0432b80652d3de0f778a4a818d (patch) | |
| tree | 8b250c85e0e37b73ff2922dc5584dcd75383d3c3 /sys/dev | |
| parent | 8b165c84f7d0d0101e87ca32000d489a9cf099a2 (diff) | |
Use unsigned integer to hold font bits in putchar(). [This looks like the
source of glyph corruption].
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/rasops/rasops1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rasops/rasops1.c b/sys/dev/rasops/rasops1.c index 6f6a6423441..56acb70a82c 100644 --- a/sys/dev/rasops/rasops1.c +++ b/sys/dev/rasops/rasops1.c @@ -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; |
