summaryrefslogtreecommitdiff
path: root/thread_macho64/afileIO3.s
diff options
context:
space:
mode:
authorJohn van Groningen2016-04-01 14:29:16 +0000
committerJohn van Groningen2016-04-01 14:29:16 +0000
commit90c625102c5f3b48982dce846823f226e8da773e (patch)
tree1a5519778119a4810fe4eebc11311518e1749ca4 /thread_macho64/afileIO3.s
parentfix unsaturated curried apply of 3 arguments on ARM (diff)
fix sfreadc interface for AMD64
Diffstat (limited to 'thread_macho64/afileIO3.s')
-rw-r--r--thread_macho64/afileIO3.s4
1 files changed, 2 insertions, 2 deletions
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