From 25d1dc81d6834bcfdf7ddda1136b46cead3ecf74 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sun, 3 Dec 2006 18:24:25 +0000 Subject: [PATCH] winedump: Cast-qual warnings fix. --- tools/winedump/lnk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winedump/lnk.c b/tools/winedump/lnk.c index fcdd7b374ef..13f3542847d 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->dwVolTableOfsdwTotalSize)) { - 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); -- 2.11.4.GIT