summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-11-09 20:13:16 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-11-09 20:13:16 +0000
commita3f8cf2bbd88d331772a2d769945b8225248df42 (patch)
tree74ef237d8590ea5d1358759e0e039913d886c83c
parent306ced0dd00ca955f6bc33577f81bb8a20524b02 (diff)
Notes
-rw-r--r--sys/pci/viapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/viapm.c b/sys/pci/viapm.c
index d18f64dca81c..faee3cdbec27 100644
--- a/sys/pci/viapm.c
+++ b/sys/pci/viapm.c
@@ -69,7 +69,7 @@ static int viapm_debug = 0;
#define VIAPM_INB(port) \
((u_char)bus_space_read_1(viapm->st, viapm->sh, port))
#define VIAPM_OUTB(port,val) \
- (bus_space_write_1(viapm->st, viapm->sh, port, (u_char)val))
+ (bus_space_write_1(viapm->st, viapm->sh, port, (u_char)(val)))
#define VIAPM_TYP_UNKNOWN 0
#define VIAPM_TYP_586B_3040E 1