summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/compiler/aslopcodes.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-09-16 20:08:00 +0000
committerjkim <jkim@FreeBSD.org>2010-09-16 20:08:00 +0000
commitddeb148f3efdd930ab31c3975094d7115bca6e40 (patch)
treef70f94cd7c27ae47515d31be78c40b03574a2e07 /sys/contrib/dev/acpica/compiler/aslopcodes.c
parent9ec9faa74565cd85da140c68d73c827afe182cc2 (diff)
parentc5863557e158eb3876688e611d5915c27657e18a (diff)
downloadFreeBSD-src-ddeb148f3efdd930ab31c3975094d7115bca6e40.zip
FreeBSD-src-ddeb148f3efdd930ab31c3975094d7115bca6e40.tar.gz
Merge ACPICA 20100915.
Diffstat (limited to 'sys/contrib/dev/acpica/compiler/aslopcodes.c')
-rw-r--r--sys/contrib/dev/acpica/compiler/aslopcodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/dev/acpica/compiler/aslopcodes.c b/sys/contrib/dev/acpica/compiler/aslopcodes.c
index b1a5692..d67efbe 100644
--- a/sys/contrib/dev/acpica/compiler/aslopcodes.c
+++ b/sys/contrib/dev/acpica/compiler/aslopcodes.c
@@ -592,9 +592,9 @@ OpcDoEisaId (
/* Create ID big-endian first (bits are contiguous) */
BigEndianId =
- (UINT32) (InString[0] - 0x40) << 26 |
- (UINT32) (InString[1] - 0x40) << 21 |
- (UINT32) (InString[2] - 0x40) << 16 |
+ (UINT32) ((UINT8) (InString[0] - 0x40)) << 26 |
+ (UINT32) ((UINT8) (InString[1] - 0x40)) << 21 |
+ (UINT32) ((UINT8) (InString[2] - 0x40)) << 16 |
(UtHexCharToValue (InString[3])) << 12 |
(UtHexCharToValue (InString[4])) << 8 |
OpenPOWER on IntegriCloud