Fix io.windbg warning

This commit is contained in:
pancake 2015-01-13 03:21:28 +01:00
parent 86b3fa2a4c
commit be4ce06527

View File

@ -84,8 +84,8 @@ static int __read(RIO *io, RIODesc *fd, ut8 *buf, int count) {
return -1;
if (wind_get_target(fd->data)) {
ut64 va;
if (!wind_va_to_pa(fd->data, io->off, &va))
uint64_t va;
if (!wind_va_to_pa (fd->data, io->off, &va))
return -1;
return wind_read_at_phys(fd->data, buf, va, count);
}