From 96344b6d9cb32f3b9487fc61f6f50d64391d74fc Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 3 Mar 2007 17:25:18 +0000 Subject: The original asm code for the stub returned 0, restore that behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22424 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'loader/win32.c') diff --git a/loader/win32.c b/loader/win32.c index 454049e1e2..547eb64494 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -5291,12 +5291,13 @@ struct libs libraries[]={ 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 -- cgit v1.2.3