mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-06 13:29:46 +00:00
Incompatible pointer type warning during make
wind_va_to_pa wants a different struct for 64 bit int. Since the value is never used, I just replaced it
This commit is contained in:
parent
be6988fe15
commit
3929091bf5
@ -55,7 +55,7 @@ static int __write(RIO *io, RIODesc *fd, const ut8 *buf, int count) {
|
||||
return -1;
|
||||
|
||||
if (wind_get_target(fd->data)) {
|
||||
uint64_t va;
|
||||
ut64 va;
|
||||
if (!wind_va_to_pa (fd->data, io->off, &va))
|
||||
return -1;
|
||||
return wind_write_at_phys (fd->data, buf, va, count);
|
||||
@ -73,7 +73,7 @@ static int __read(RIO *io, RIODesc *fd, ut8 *buf, int count) {
|
||||
return -1;
|
||||
|
||||
if (wind_get_target(fd->data)) {
|
||||
uint64_t va;
|
||||
ut64 va;
|
||||
if (!wind_va_to_pa (fd->data, io->off, &va))
|
||||
return -1;
|
||||
return wind_read_at_phys(fd->data, buf, va, count);
|
||||
|
Loading…
x
Reference in New Issue
Block a user