diff options
author | Robert Moore <Robert.Moore@intel.com> | 2015-02-26 08:10:32 -0800 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2015-02-26 08:10:32 -0800 |
commit | 46dc081e570b1363af1e368980201cbb65c4100f (patch) | |
tree | 0ccf1debfa6c6c3f05556be1a070327a43a97d54 /source/tools/acpiexec/aeregion.c | |
parent | ceee1bad34bed5ec24c32a14a635cb86fd801d2f (diff) | |
download | acpica-46dc081e570b1363af1e368980201cbb65c4100f.tar.gz |
Casting changes for MSVC and FreeBSD support.
Update for some recent changes.
Diffstat (limited to 'source/tools/acpiexec/aeregion.c')
-rw-r--r-- | source/tools/acpiexec/aeregion.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/tools/acpiexec/aeregion.c b/source/tools/acpiexec/aeregion.c index a1b8ea20d..a7823bf12 100644 --- a/source/tools/acpiexec/aeregion.c +++ b/source/tools/acpiexec/aeregion.c @@ -759,8 +759,8 @@ AeRegionHandler ( { /* Right overlap */ - RegionElement->Length = BaseAddress - - RegionAddress + Length; + RegionElement->Length = (UINT32) (BaseAddress - + RegionAddress + Length); BufferResize = TRUE; } @@ -771,8 +771,8 @@ AeRegionHandler ( /* Left overlap */ RegionElement->Address = BaseAddress; - RegionElement->Length = RegionAddress - - BaseAddress + RegionElement->Length; + RegionElement->Length = (UINT32) (RegionAddress - + BaseAddress + RegionElement->Length); BufferResize = TRUE; } |