diff options
-rw-r--r-- | sys/arch/amiga/dev/grf_cl.c | 4 | ||||
-rw-r--r-- | sys/arch/amiga/dev/grfioctl.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amiga/dev/grf_cl.c b/sys/arch/amiga/dev/grf_cl.c index e661a2a562e..284e88f9950 100644 --- a/sys/arch/amiga/dev/grf_cl.c +++ b/sys/arch/amiga/dev/grf_cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_cl.c,v 1.14 2000/04/28 15:27:07 espie Exp $ */ +/* $OpenBSD: grf_cl.c,v 1.15 2001/09/13 13:20:22 jj Exp $ */ /* $NetBSD: grf_cl.c,v 1.20 1997/07/29 17:46:24 veego Exp $ */ /* @@ -972,7 +972,7 @@ cl_setspriteinfo(gp, data) if (data->set & GRFSPRSET_SHAPE) { - short dsx, dsy, i; + unsigned short dsx, dsy, i; unsigned long *di, *dm, *si, *sm; unsigned long ssi[128], ssm[128]; struct grf_position gpos; diff --git a/sys/arch/amiga/dev/grfioctl.h b/sys/arch/amiga/dev/grfioctl.h index 0e03d83f1fd..a5fbe931cd4 100644 --- a/sys/arch/amiga/dev/grfioctl.h +++ b/sys/arch/amiga/dev/grfioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: grfioctl.h,v 1.4 1997/09/10 21:03:48 niklas Exp $ */ +/* $OpenBSD: grfioctl.h,v 1.5 2001/09/13 13:20:22 jj Exp $ */ /* $NetBSD: grfioctl.h,v 1.13 1997/07/29 17:54:11 veego Exp $ */ /* @@ -148,8 +148,8 @@ struct grfvideo_mode { * Maxium value of "index" can be deduced from grfinfo->gd_colors. */ struct grf_colormap { - int index; /* start at red[index],green[index],blue[index] */ - int count; /* till < red[index+count],... */ + u_int index; /* start at red[index],green[index],blue[index] */ + u_int count; /* till < red[index+count],... */ u_char *red; u_char *green; u_char *blue; |