winebuild: Cast-qual warnings fix.
This commit is contained in:
parent
0e592aa9bd
commit
0235b1bf26
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue