diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-05 11:55:55 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-05 11:55:55 +1100 |
commit | 1e7f32ab15d97b78bf1df5eb50ccb1bebc4f7762 (patch) | |
tree | 35093572b2d1496618b715dfe85f089aa5f3f8da /core | |
parent | f752d2a51f86ffa1e8101676a450a7d933f78d75 (diff) | |
download | skiboot-1e7f32ab15d97b78bf1df5eb50ccb1bebc4f7762.zip skiboot-1e7f32ab15d97b78bf1df5eb50ccb1bebc4f7762.tar.gz skiboot-1e7f32ab15d97b78bf1df5eb50ccb1bebc4f7762.tar.bz2 |
silence integer/pointer from integer/pointer warnings in core/test/run-mem_region_init.c
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/test/run-mem_region_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/test/run-mem_region_init.c b/core/test/run-mem_region_init.c index 65643ec..bb606ef 100644 --- a/core/test/run-mem_region_init.c +++ b/core/test/run-mem_region_init.c @@ -121,9 +121,9 @@ int main(void) dt_add_property_cells(dt_root, "#size-cells", 2); /* Make sure we overlap the heap, at least. */ - add_mem_node(0, heap + 0x100000000ULL); - add_mem_node(heap+0x100000000ULL , 0x100000000ULL); - end = heap+ 0x100000000ULL + 0x100000000ULL; + add_mem_node(0, (uint64_t)(heap + 0x100000000ULL)); + add_mem_node((uint64_t)heap+0x100000000ULL , 0x100000000ULL); + end = (uint64_t)(heap+ 0x100000000ULL + 0x100000000ULL); /* Now convert. */ mem_region_init(); |