From 720b53c4b27305699d07f32d487de7f85fb60b32 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Sun, 3 Feb 2008 11:52:42 +0000 Subject: [PATCH] Finally fix all cabman warnings and the 64-bit build svn path=/trunk/; revision=32103 --- reactos/tools/cabman/cabinet.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/tools/cabman/cabinet.cxx b/reactos/tools/cabman/cabinet.cxx index 07c0f3a414c..b76dd0acc35 100755 --- a/reactos/tools/cabman/cabinet.cxx +++ b/reactos/tools/cabman/cabinet.cxx @@ -1105,8 +1105,8 @@ ULONG CCabinet::ExtractFile(char* FileName) BytesToRead = CFData.CompSize; - DPRINT(MAX_TRACE, ("Read: (0x%X,0x%X).\n", - (UINT_PTR)CurrentBuffer, (UINT_PTR)Buffer)); + DPRINT(MAX_TRACE, ("Read: (0x%lX,0x%lX).\n", + (_W64 unsigned long)CurrentBuffer, (_W64 unsigned long)Buffer)); if (((Status = ReadBlock(CurrentBuffer, BytesToRead, &BytesRead)) != CAB_STATUS_SUCCESS) || (BytesToRead != BytesRead)) @@ -1228,7 +1228,7 @@ ULONG CCabinet::ExtractFile(char* FileName) BytesToWrite = BytesLeftInBlock; DPRINT(MAX_TRACE, ("Seeking to absolute offset 0x%X.\n", - (UINT)CurrentDataNode->AbsoluteOffset + sizeof(CFDATA) + CurrentDataNode->Data.CompSize)); + (UINT)(CurrentDataNode->AbsoluteOffset + sizeof(CFDATA) + CurrentDataNode->Data.CompSize))); if (((Status = ReadBlock(&CFData, sizeof(CFDATA), &BytesRead)) != CAB_STATUS_SUCCESS) || (BytesRead != sizeof(CFDATA)))