Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/dev expand the attr array to hold all the byt...



details:   https://anonhg.NetBSD.org/src/rev/1bb1b21c978e
branches:  trunk
changeset: 770114:1bb1b21c978e
user:      chs <chs%NetBSD.org@localhost>
date:      Tue Oct 04 04:50:20 2011 +0000

description:
expand the attr array to hold all the bytes we store in it.
not that the code actually does anything with the extra bytes,
but at least it builds with gcc 4.5.

diffstat:

 sys/arch/atari/dev/grfabs_et.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 89bff3dc558d -r 1bb1b21c978e sys/arch/atari/dev/grfabs_et.h
--- a/sys/arch/atari/dev/grfabs_et.h    Tue Oct 04 04:05:17 2011 +0000
+++ b/sys/arch/atari/dev/grfabs_et.h    Tue Oct 04 04:50:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grfabs_et.h,v 1.3 2009/10/20 19:10:10 snj Exp $        */
+/*     $NetBSD: grfabs_et.h,v 1.4 2011/10/04 04:50:20 chs Exp $        */
 
 /*
  * Copyright (c) 1996 Leo Weppelman.
@@ -31,7 +31,7 @@
 typedef struct {
        u_char  misc_output;
        u_char  crt[25];        /* Std. VGA crt registers       */
-       u_char  attr[21];       /* Std. VGA attr. registers     */
+       u_char  attr[25];       /* Std. VGA attr. registers     */
        u_char  grf[9];         /* Std. VGA grf. registers      */
        u_char  seq[5];         /* Std. VGA seq. registers      */
 



Home | Main Index | Thread Index | Old Index