Alexandre Julliard : include: Fix typo in the 64-bit version of GetProcessHeap().
Alexandre Julliard
julliard at winehq.org
Fri Dec 12 07:04:07 CST 2008
Module: wine
Branch: master
Commit: dcbe616a0e1c581e6e678a0408d0d98310d250d2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dcbe616a0e1c581e6e678a0408d0d98310d250d2
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Dec 11 20:37:42 2008 +0100
include: Fix typo in the 64-bit version of GetProcessHeap().
---
include/winbase.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/winbase.h b/include/winbase.h
index e3c8ec9..909a3e2 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) );
More information about the wine-cvs
mailing list