From 0235b1bf26df362b8bd70fe6a3f521de11bf4bd0 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 22 Aug 2006 23:30:52 +0100 Subject: [PATCH] winebuild: Cast-qual warnings fix. --- tools/winebuild/res16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winebuild/res16.c b/tools/winebuild/res16.c index c8dcf1e3e66..99e5cd31f19 100644 --- a/tools/winebuild/res16.c +++ b/tools/winebuild/res16.c @@ -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())); -- 2.11.4.GIT