gcc 4.0 warning fix.

This commit is contained in:
Mike McCormack 2005-08-08 17:58:41 +00:00 committed by Alexandre Julliard
parent c14dbc5c1c
commit 4f995bd6e6
1 changed files with 2 additions and 1 deletions

View File

@ -920,8 +920,9 @@ static void dump_msgtable_data( const void *ptr, unsigned int size, unsigned int
}
else
{
const char *str = (const char *) entry->Text;
printf( "%s%08x \"", prefix, j );
dump_strA( entry->Text, strlen(entry->Text) );
dump_strA( entry->Text, strlen(str) );
printf( "\"\n" );
}
entry = (const MESSAGE_RESOURCE_ENTRY *)((const char *)entry + entry->Length);