« Previous | Next » 

Revision ec4936e1

IDec4936e1a49ef2d7129a1813ed7a3ca826698bfb

Added by Stefan Weil about 7 years ago

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 <>
[agraf: fix compilation on 32bit hosts]
Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences