Module: wine Branch: master Commit: 11b0b0658d888a7fadc79a5102b7798e6c1953f6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=11b0b0658d888a7fadc79a5102...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Oct 21 18:02:30 2009 +0200
kernel32: Return the appropriate binary type for 64-bit PE files.
---
dlls/kernel32/module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/module.c b/dlls/kernel32/module.c index 05d5add..8b5231b 100644 --- a/dlls/kernel32/module.c +++ b/dlls/kernel32/module.c @@ -443,7 +443,7 @@ BOOL WINAPI GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType ) break; } case BINARY_PE: - *lpBinaryType = SCS_32BIT_BINARY; + *lpBinaryType = (binary_type & BINARY_FLAG_64BIT) ? SCS_64BIT_BINARY : SCS_32BIT_BINARY; ret = TRUE; break; case BINARY_WIN16: