exec.c: Use ram_addr_t in cpu_physical_memory_rw(...).
commit8ca5692df4a635b2c9211d6dc3dea15bd2b674c8
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 15 Jul 2011 04:32:53 +0000 (15 04:32 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 26 Jul 2011 04:43:10 +0000 (26 06:43 +0200)
treecddad9c16a4c482434c3b5161969b8e5a97e17ee
parent30ab61252b71446977e298f146be124eb4a5b333
exec.c: Use ram_addr_t in cpu_physical_memory_rw(...).

As the variable pd and addr1 inside the function cpu_physical_memory_rw
are mean to handle a RAM address, they should be of the ram_addr_t type
instead of unsigned long.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
exec.c