* Fix io_ptrace write in 64bits

* Fix indentation of io_ptrace.c
This commit is contained in:
Nibble 2011-02-25 13:13:35 +01:00
parent 5495f187a8
commit 43b57a7102

View File

@ -61,7 +61,7 @@ static int __read(struct r_io_t *io, RIODesc *fd, ut8 *buf, int len) {
static int ptrace_write_at(int pid, const ut8 *buf, int sz, ut64 addr) { static int ptrace_write_at(int pid, const ut8 *buf, int sz, ut64 addr) {
long words = sz / sizeof(long); long words = sz / sizeof(long);
long last = (sz % sizeof(long))*sizeof(long)*2; long last = (sz - words*sizeof(long)) * 8;
long x, lr; long x, lr;
for (x=0; x<words; x++) for (x=0; x<words; x++)