summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/creator.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/creator.c')
-rw-r--r--sys/arch/sparc64/dev/creator.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sparc64/dev/creator.c b/sys/arch/sparc64/dev/creator.c
index 9c090cd504c..52a5cd870db 100644
--- a/sys/arch/sparc64/dev/creator.c
+++ b/sys/arch/sparc64/dev/creator.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: creator.c,v 1.52 2020/05/25 06:45:25 jsg Exp $ */
+/* $OpenBSD: creator.c,v 1.53 2020/05/25 09:55:48 jsg Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -54,8 +54,8 @@ void creator_ras_fifo_wait(struct creator_softc *, int);
void creator_ras_wait(struct creator_softc *);
void creator_ras_init(struct creator_softc *);
int creator_ras_copyrows(void *, int, int, int);
-int creator_ras_erasecols(void *, int, int, int, long int);
-int creator_ras_eraserows(void *, int, int, long int);
+int creator_ras_erasecols(void *, int, int, int, uint32_t);
+int creator_ras_eraserows(void *, int, int, uint32_t);
void creator_ras_fill(struct creator_softc *);
void creator_ras_setfg(struct creator_softc *, int32_t);
@@ -241,7 +241,7 @@ creator_ioctl(v, cmd, data, flags, p)
sc->sc_mode = *(u_int *)data;
if (sc->sc_mode == WSDISPLAYIO_MODE_EMUL) {
struct rasops_info *ri = &sc->sc_sunfb.sf_ro;
- long attr;
+ uint32_t attr;
if ((sc->sc_sunfb.sf_dev.dv_cfdata->cf_flags &
CREATOR_CFFLAG_NOACCEL) == 0)
@@ -594,7 +594,7 @@ int
creator_ras_eraserows(cookie, row, n, attr)
void *cookie;
int row, n;
- long int attr;
+ uint32_t attr;
{
struct rasops_info *ri = cookie;
struct creator_softc *sc = ri->ri_hw;
@@ -634,7 +634,7 @@ int
creator_ras_erasecols(cookie, row, col, n, attr)
void *cookie;
int row, col, n;
- long int attr;
+ uint32_t attr;
{
struct rasops_info *ri = cookie;
struct creator_softc *sc = ri->ri_hw;