From a3f8cf2bbd88d331772a2d769945b8225248df42 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Sat, 9 Nov 2002 20:13:16 +0000 Subject: Fix an unparenthasized macro argument. md5s differ but this is likely to order of operations that are actually fixed by the proper parenthasizing. --- sys/pci/viapm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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 -- cgit v1.3