diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-06-19 23:08:29 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-07-01 01:11:16 +0200 |
commit | ec4936e1a49ef2d7129a1813ed7a3ca826698bfb (patch) | |
tree | a6af25e58dc795be51b7a4c14d829e9d8c7f303f /hw/timer/etraxfs_timer.c | |
parent | 210b580b106fa798149e28aa13c66b325a43204e (diff) |
pseries: Fix compiler warning (conversion of pointer to integral value)
This kind of type cast must use uintptr_t or target_ulong to be portable
for hosts with sizeof(void *) != sizeof(long).
Here the value is assigned to a variable of type target_ulong.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
[agraf: fix compilation on 32bit hosts]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/timer/etraxfs_timer.c')
0 files changed, 0 insertions, 0 deletions