summaryrefslogtreecommitdiffstats
path: root/compiler/aslopcodes.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-09-15 20:49:34 +0000
committerjkim <jkim@FreeBSD.org>2010-09-15 20:49:34 +0000
commit222f62b9508c30168451c22ba677efe564ec2bb6 (patch)
tree41eb78500422196a69e6d775b795f5ee483d4a9e /compiler/aslopcodes.c
parent7246513d8afc4166ea14544296293fcb8df78649 (diff)
downloadFreeBSD-src-222f62b9508c30168451c22ba677efe564ec2bb6.zip
FreeBSD-src-222f62b9508c30168451c22ba677efe564ec2bb6.tar.gz
Import ACPICA 20100915.
Diffstat (limited to 'compiler/aslopcodes.c')
-rw-r--r--compiler/aslopcodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/aslopcodes.c b/compiler/aslopcodes.c
index 1c6eef7..48aaa50 100644
--- a/compiler/aslopcodes.c
+++ b/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