From 90c625102c5f3b48982dce846823f226e8da773e Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Fri, 1 Apr 2016 14:29:16 +0000 Subject: fix sfreadc interface for AMD64 --- thread_macho64/afileIO3.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thread_macho64/afileIO3.s') diff --git a/thread_macho64/afileIO3.s b/thread_macho64/afileIO3.s index 75c0e51..7f29f43 100644 --- a/thread_macho64/afileIO3.s +++ b/thread_macho64/afileIO3.s @@ -704,11 +704,11 @@ readSFC: mov rsi,r13 mov rdi,r14 - cmp rax,-1 + cmp eax,-1 je readSFC_eof + mov r10d,eax pop rax - mov r10,rax mov r11,1 ret -- cgit v1.2.3