summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/dsfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/dsfield.c')
-rw-r--r--sys/contrib/dev/acpica/dsfield.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/contrib/dev/acpica/dsfield.c b/sys/contrib/dev/acpica/dsfield.c
index 58d35c4..aef5bc2 100644
--- a/sys/contrib/dev/acpica/dsfield.c
+++ b/sys/contrib/dev/acpica/dsfield.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: dsfield - Dispatcher field routines
- * $Revision: 71 $
+ * $Revision: 72 $
*
*****************************************************************************/
@@ -335,9 +335,9 @@ AcpiDsGetFieldNames (
* In FieldFlags, preserve the flag bits other than the ACCESS_TYPE bits
*/
Info->FieldFlags = (UINT8) ((Info->FieldFlags & ~(AML_FIELD_ACCESS_TYPE_MASK)) |
- ((UINT8) (Arg->Common.Value.Integer32 >> 8)));
+ ((UINT8) ((UINT32) Arg->Common.Value.Integer >> 8)));
- Info->Attribute = (UINT8) (Arg->Common.Value.Integer32);
+ Info->Attribute = (UINT8) (Arg->Common.Value.Integer);
break;
@@ -449,7 +449,7 @@ AcpiDsCreateField (
/* Second arg is the field flags */
Arg = Arg->Common.Next;
- Info.FieldFlags = Arg->Common.Value.Integer8;
+ Info.FieldFlags = (UINT8) Arg->Common.Value.Integer;
Info.Attribute = 0;
/* Each remaining arg is a Named Field */
@@ -610,12 +610,12 @@ AcpiDsCreateBankField (
/* Third arg is the BankValue */
Arg = Arg->Common.Next;
- Info.BankValue = Arg->Common.Value.Integer32;
+ Info.BankValue = (UINT32) Arg->Common.Value.Integer;
/* Fourth arg is the field flags */
Arg = Arg->Common.Next;
- Info.FieldFlags = Arg->Common.Value.Integer8;
+ Info.FieldFlags = (UINT8) Arg->Common.Value.Integer;
/* Each remaining arg is a Named Field */
@@ -683,7 +683,7 @@ AcpiDsCreateIndexField (
/* Next arg is the field flags */
Arg = Arg->Common.Next;
- Info.FieldFlags = Arg->Common.Value.Integer8;
+ Info.FieldFlags = (UINT8) Arg->Common.Value.Integer;
/* Each remaining arg is a Named Field */
OpenPOWER on IntegriCloud