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);