Place a volatile at a more appropriate place.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30268 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-01-10 19:59:36 +00:00
parent acc53c9609
commit af6f08ce6a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}