Andrew Talbot : winebuild: Cast-qual warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 23 05:55:39 CDT 2006


Module: wine
Branch: master
Commit: 0235b1bf26df362b8bd70fe6a3f521de11bf4bd0
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0235b1bf26df362b8bd70fe6a3f521de11bf4bd0

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Aug 22 23:30:52 2006 +0100

winebuild: Cast-qual warnings fix.

---

 tools/winebuild/res16.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winebuild/res16.c b/tools/winebuild/res16.c
index c8dcf1e..99e5cd3 100644
--- a/tools/winebuild/res16.c
+++ b/tools/winebuild/res16.c
@@ -142,7 +142,7 @@ static void get_string( struct string_id
     }
     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()));




More information about the wine-cvs mailing list