summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev/cg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/dev/cg2.c')
-rw-r--r--sys/arch/sun3/dev/cg2.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sun3/dev/cg2.c b/sys/arch/sun3/dev/cg2.c
index aaed1f3412d..884934c33cc 100644
--- a/sys/arch/sun3/dev/cg2.c
+++ b/sys/arch/sun3/dev/cg2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cg2.c,v 1.6 1997/01/16 04:03:43 kstailey Exp $ */
+/* $OpenBSD: cg2.c,v 1.7 2001/09/16 00:42:44 millert Exp $ */
/* $NetBSD: cg2.c,v 1.7 1996/10/13 03:47:26 christos Exp $ */
/*
@@ -306,7 +306,8 @@ cg2getcmap(fb, cmap)
{
struct cg2_softc *sc = fb->fb_private;
u_char red[CMSIZE], green[CMSIZE], blue[CMSIZE];
- int error, start, count, ecount;
+ int error;
+ u_int start, count, ecount;
register u_int i;
register u_short *p;
@@ -348,7 +349,8 @@ cg2putcmap(fb, cmap)
{
struct cg2_softc *sc = fb->fb_private;
u_char red[CMSIZE], green[CMSIZE], blue[CMSIZE];
- int error, start, count, ecount;
+ int error;
+ u_int start, count, ecount;
register u_int i;
register u_short *p;