include: Fix typo in the 64-bit version of GetProcessHeap().

This commit is contained in:
Alexandre Julliard 2008-12-11 20:37:42 +01:00
parent 0719b6ed86
commit dcbe616a0e
1 changed files with 1 additions and 1 deletions

View File

@ -2513,7 +2513,7 @@ extern inline HANDLE WINAPI GetProcessHeap(void)
{ {
HANDLE *pdb; HANDLE *pdb;
#ifdef __x86_64__ #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 */ return pdb[0x30 / sizeof(HANDLE)]; /* get dword at offset 0x30 in pdb */
#else #else
__asm__ __volatile__( ".byte 0x64\n\tmovl 0x30,%0" : "=r" (pdb) ); __asm__ __volatile__( ".byte 0x64\n\tmovl 0x30,%0" : "=r" (pdb) );