summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-16 15:25:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-03-16 15:25:06 +0000
commit5a8ed0ebe638724eccf6cc125b1b77503c1cd569 (patch)
tree458343d7960fbff0c59363d5ae4c8598cefc75e5 /sys
parentddc2a8ace939f2180183643e696dba7985d7e264 (diff)
missing bracket; ok miod
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/sgi/ip30_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/ip30_machdep.c b/sys/arch/sgi/sgi/ip30_machdep.c
index f3b9ced3547..25b2e42948e 100644
--- a/sys/arch/sgi/sgi/ip30_machdep.c
+++ b/sys/arch/sgi/sgi/ip30_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip30_machdep.c,v 1.48 2012/03/15 18:57:22 miod Exp $ */
+/* $OpenBSD: ip30_machdep.c,v 1.49 2012/03/16 15:25:05 deraadt Exp $ */
/*
* Copyright (c) 2008, 2009 Miodrag Vallat.
@@ -252,7 +252,7 @@ ip30_autoconf(struct device *parent)
paddr_t
ip30_widget_short(int16_t nasid, u_int widget)
{
- return PHYS_TO_XKPHYS((uint64_t)(widget) << 24) | (1ULL << 28), CCA_NC);
+ return PHYS_TO_XKPHYS((uint64_t)((widget) << 24) | (1ULL << 28), CCA_NC);
}
paddr_t