Skip to content

Commit e2826eb

Browse files
committed
Fix MSVC compiler error.
1 parent 49a8287 commit e2826eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MemoryModule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,9 @@ HMEMORYMODULE MemoryLoadLibraryEx(const void *data, size_t size,
526526
}
527527

528528
#ifdef _WIN64
529-
static const WORD HOST_MACHINE = IMAGE_FILE_MACHINE_AMD64;
529+
static const int HOST_MACHINE = IMAGE_FILE_MACHINE_AMD64;
530530
#else
531-
static const WORD HOST_MACHINE = IMAGE_FILE_MACHINE_I386;
531+
static const int HOST_MACHINE = IMAGE_FILE_MACHINE_I386;
532532
#endif
533533
if (old_header->FileHeader.Machine != HOST_MACHINE) {
534534
SetLastError(ERROR_BAD_EXE_FORMAT);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy