From dcbe616a0e1c581e6e678a0408d0d98310d250d2 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 11 Dec 2008 20:37:42 +0100 Subject: [PATCH] include: Fix typo in the 64-bit version of GetProcessHeap(). --- include/winbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/winbase.h b/include/winbase.h index e3c8ec988ff..909a3e25594 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -2513,7 +2513,7 @@ extern inline HANDLE WINAPI GetProcessHeap(void) { HANDLE *pdb; #ifdef __x86_64__ - __asm__ __volatile__( ".byte 0x64\n\tmovq 0x60,%0" : "=r" (pdb) ); + __asm__ __volatile__( ".byte 0x65\n\tmovq 0x60,%0" : "=r" (pdb) ); return pdb[0x30 / sizeof(HANDLE)]; /* get dword at offset 0x30 in pdb */ #else __asm__ __volatile__( ".byte 0x64\n\tmovl 0x30,%0" : "=r" (pdb) );