wget/wget-1.10.1-strict-aliasing.diff

12 lines
340 B
Diff

--- wget-1.10.1/src/init.c
+++ wget-1.10.1/src/init.c
@@ -1190,7 +1190,7 @@
{ "none", prefer_none },
};
int ok = decode_string (val, choices, countof (choices),
- (int *) &opt.prefer_family);
+ &opt.prefer_family);
if (!ok)
fprintf (stderr, _("%s: %s: Invalid value `%s'.\n"), exec_name, com, val);
return ok;