winebuild: Cast-qual warning fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Wed Oct 11 09:11:04 CDT 2006
Changelog:
winebuild: Cast-qual warning fix.
diff -urN a/tools/winebuild/import.c b/tools/winebuild/import.c
--- a/tools/winebuild/import.c 2006-08-12 12:11:08.000000000 +0100
+++ b/tools/winebuild/import.c 2006-10-11 13:22:35.000000000 +0100
@@ -147,7 +147,7 @@
{
ORDDEF func, *odp, **res = NULL;
- func.name = (char *)name;
+ func.name = xstrdup(name);
func.ordinal = -1;
odp = &func;
if (table) res = bsearch( &odp, table, size, sizeof(*table), func_cmp );
More information about the wine-patches
mailing list