winebuild: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-08-22 23:30:52 +01:00 committed by Alexandre Julliard
parent 0e592aa9bd
commit 0235b1bf26

View file

@ -142,7 +142,7 @@ static void get_string( struct string_id *str )
}
else
{
char *p = xmalloc( (strlen((char*)file_pos) + 1) );
char *p = xmalloc(strlen((const char *)file_pos) + 1);
str->str = p;
str->id = 0;
while ((*p++ = get_byte()));