# HG changeset patch # User reimar # Date 1172942718 0 # Node ID 9977fe541c4db1b4c333bd80badc45f675b51d4f # Parent 1b1761cbba3bfcd50bbc21b07c23da3123632124 The original asm code for the stub returned 0, restore that behaviour. diff -r 1b1761cbba3b -r 9977fe541c4d loader/win32.c --- a/loader/win32.c Sat Mar 03 16:59:39 2007 +0000 +++ b/loader/win32.c Sat Mar 03 17:25:18 2007 +0000 @@ -5291,12 +5291,13 @@ LL(shlwapi) }; -static void ext_stubs(void) +static WIN_BOOL WINAPI ext_stubs(void) { volatile int idx = 0xdeadabcd; // make sure gcc does not do eip-relative call or something like that volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd; my_printf("Called unk_%s\n", export_names[idx]); + return 0; } #define MAX_STUB_SIZE 0x60