winedump: Cast-qual warnings fix (1 of 2)
Andrew Talbot
Andrew.Talbot at talbotville.com
Sun Dec 3 12:24:25 CST 2006
Changelog:
winedump: Cast-qual warnings fix.
diff -urN a/tools/winedump/lnk.c b/tools/winedump/lnk.c
--- a/tools/winedump/lnk.c 2006-11-30 17:41:10.000000000 +0000
+++ b/tools/winedump/lnk.c 2006-12-03 16:27:17.000000000 +0000
@@ -211,7 +211,7 @@
printf("Volume ofs = %08x ", loc->dwVolTableOfs);
if (loc->dwVolTableOfs && (loc->dwVolTableOfs<loc->dwTotalSize))
{
- LOCAL_VOLUME_INFO *vol = (LOCAL_VOLUME_INFO *) &p[loc->dwVolTableOfs];
+ const LOCAL_VOLUME_INFO *vol = (const LOCAL_VOLUME_INFO *)&p[loc->dwVolTableOfs];
printf("size %d type %d serial %08x label %d ",
vol->dwSize, vol->dwType, vol->dwVolSerial, vol->dwVolLabelOfs);
More information about the wine-patches
mailing list