summaryrefslogtreecommitdiffstats
path: root/compiler/aslresource.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/aslresource.c')
-rw-r--r--compiler/aslresource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/aslresource.c b/compiler/aslresource.c
index ceebd9c..421fde3 100644
--- a/compiler/aslresource.c
+++ b/compiler/aslresource.c
@@ -9,7 +9,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -184,7 +184,7 @@ RsCreateBitField (
{
Op->Asl.ExternalName = Name;
- Op->Asl.Value.Integer = ((ACPI_INTEGER) ByteOffset * 8) + BitOffset;
+ Op->Asl.Value.Integer = ((UINT64) ByteOffset * 8) + BitOffset;
Op->Asl.CompileFlags |= (NODE_IS_RESOURCE_FIELD | NODE_IS_BIT_OFFSET);
}
OpenPOWER on IntegriCloud