[MPlayer-cvslog] r30268 - trunk/loader/win32.c

reimar subversion at mplayerhq.hu
Sun Jan 10 20:59:36 CET 2010


Author: reimar
Date: Sun Jan 10 20:59:36 2010
New Revision: 30268

Log:
Place a volatile at a more appropriate place.

Modified:
   trunk/loader/win32.c

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	Sun Jan 10 20:58:01 2010	(r30267)
+++ trunk/loader/win32.c	Sun Jan 10 20:59:36 2010	(r30268)
@@ -5328,7 +5328,7 @@ static WIN_BOOL WINAPI ext_stubs(void)
 {
     volatile int idx = 0x0deadabc;
     // make sure gcc does not do eip-relative call or something like that
-    volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd;
+    void (* volatile my_printf)(char *, char *) = (void *)0xdeadfbcd;
     my_printf("Called unk_%s\n", export_names[idx]);
     return 0;
 }


More information about the MPlayer-cvslog mailing list