summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-05-24 16:40:19 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-05-24 16:40:19 +0000
commit702537aa0dd31b28eaf4d82ee45d9c43c1d8adfb (patch)
tree50a1b332350bbe49e1256549237c5a2a8abe0667
parent7e40cc30e71b80e01a2967c72ca001bf2d2d5d3a (diff)
make sure the array of chars we pass aps_do_io() in aps_match() is
unsigned, like all the other callers of aps_do_io in aps do.
-rw-r--r--sys/dev/isa/aps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/aps.c b/sys/dev/isa/aps.c
index b941f334da7..f3174637abd 100644
--- a/sys/dev/isa/aps.c
+++ b/sys/dev/isa/aps.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aps.c,v 1.18 2009/04/21 19:36:17 mk Exp $ */
+/* $OpenBSD: aps.c,v 1.19 2009/05/24 16:40:18 jsg Exp $ */
/*
* Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org>
* Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org>
@@ -239,7 +239,7 @@ aps_match(struct device *parent, void *match, void *aux)
int iobase;
u_int8_t cr;
- char iobuf[16];
+ unsigned char iobuf[16];
iot = ia->ia_iot;
iobase = ia->ipa_io[0].base;