Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/rasops Use unsigned integer to hold font bits in put...



details:   https://anonhg.NetBSD.org/src/rev/73e5487b4580
branches:  trunk
changeset: 474899:73e5487b4580
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Jul 25 17:36:40 1999 +0000

description:
Use unsigned integer to hold font bits in putchar(). [This looks like the
source of glyph corruption].

diffstat:

 sys/dev/rasops/rasops1.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7deddfad1e36 -r 73e5487b4580 sys/dev/rasops/rasops1.c
--- a/sys/dev/rasops/rasops1.c  Sun Jul 25 13:59:08 1999 +0000
+++ b/sys/dev/rasops/rasops1.c  Sun Jul 25 17:36:40 1999 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index