Andrew Talbot : winedump: Cast-qual warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 4 07:16:57 CST 2006


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sun Dec  3 18:24:25 2006 +0000

winedump: Cast-qual warnings fix.

---

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

diff --git a/tools/winedump/lnk.c b/tools/winedump/lnk.c
index fcdd7b3..13f3542 100644
--- a/tools/winedump/lnk.c
+++ b/tools/winedump/lnk.c
@@ -211,7 +211,7 @@ static int dump_location(void)
     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-cvs mailing list