From 9f5d2684e0bd505f3c37ff6eb53098c5945dc09e Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Sat, 16 Feb 2008 22:21:59 +0000 Subject: [PATCH] /Wp64 and __w64 are deprecated beginning with Visual C++ 2008. Remove the /Wp64 switch from the cabman project file (no idea why it was enabled anyway ;-) and the _W64 macros from the code. svn path=/trunk/; revision=32395 --- reactos/tools/cabman/cabinet.cxx | 4 ++-- reactos/tools/cabman/cabinet.h | 4 ---- reactos/tools/cabman/cabman.vcproj | 2 +- reactos/tools/cabman/mszip.cxx | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/reactos/tools/cabman/cabinet.cxx b/reactos/tools/cabman/cabinet.cxx index d059497765b..633ae7181ca 100755 --- a/reactos/tools/cabman/cabinet.cxx +++ b/reactos/tools/cabman/cabinet.cxx @@ -1210,8 +1210,8 @@ ULONG CCabinet::ExtractFile(char* FileName) BytesToRead = CFData.CompSize; - DPRINT(MAX_TRACE, ("Read: (0x%lX,0x%lX).\n", - (_W64 unsigned long)CurrentBuffer, (_W64 unsigned long)Buffer)); + DPRINT(MAX_TRACE, ("Read: (0x%X,0x%X).\n", + (UINT)CurrentBuffer, (UINT)Buffer)); if (((Status = ReadBlock(CurrentBuffer, BytesToRead, &BytesRead)) != CAB_STATUS_SUCCESS) || (BytesToRead != BytesRead)) diff --git a/reactos/tools/cabman/cabinet.h b/reactos/tools/cabman/cabinet.h index e082746bba6..329f0829286 100755 --- a/reactos/tools/cabman/cabinet.h +++ b/reactos/tools/cabman/cabinet.h @@ -21,10 +21,6 @@ #endif #endif -#ifndef _W64 -#define _W64 -#endif - #include #include #include diff --git a/reactos/tools/cabman/cabman.vcproj b/reactos/tools/cabman/cabman.vcproj index 762cbf88012..92218e3da6b 100644 --- a/reactos/tools/cabman/cabman.vcproj +++ b/reactos/tools/cabman/cabman.vcproj @@ -48,7 +48,7 @@ RuntimeLibrary="3" UsePrecompiledHeader="0" WarningLevel="3" - Detect64BitPortabilityProblems="true" + Detect64BitPortabilityProblems="false" DebugInformationFormat="4" />