Author: sserapion
Date: Tue Sep 16 21:52:33 2008
New Revision: 36274
URL:
http://svn.reactos.org/svn/reactos?rev=36274&view=rev
Log:
Fix up win64 warnings about NtQuerySystemInformation.
Modified:
branches/ros-amd64-bringup/reactos/base/setup/usetup/cabinet.c
branches/ros-amd64-bringup/reactos/base/setup/usetup/interface/usetup.c
branches/ros-amd64-bringup/reactos/base/setup/usetup/partlist.c
Modified: branches/ros-amd64-bringup/reactos/base/setup/usetup/cabinet.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/setup/usetup/cabinet.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/setup/usetup/cabinet.c [iso-8859-1] Tue Sep 16
21:52:33 2008
@@ -148,7 +148,7 @@
return CS_BADSTREAM;
}
- ZStream.next_in = (PUCHAR)((ULONG)InputBuffer + 2);
+ ZStream.next_in = ((PUCHAR)InputBuffer )+ 2;
ZStream.avail_in = *InputLength - 2;
ZStream.next_out = (PUCHAR)OutputBuffer;
ZStream.avail_out = abs(*OutputLength);
Modified: branches/ros-amd64-bringup/reactos/base/setup/usetup/interface/usetup.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1]
Tue Sep 16 21:52:33 2008
@@ -699,7 +699,7 @@
INFCONTEXT Context;
PWCHAR Value;
UINT ErrorLine;
- SIZE_T ReturnSize;
+ ULONG ReturnSize;
CONSOLE_SetStatusText(MUIGetString(STRING_PLEASEWAIT));
Modified: branches/ros-amd64-bringup/reactos/base/setup/usetup/partlist.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/setup/usetup/partlist.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/setup/usetup/partlist.c [iso-8859-1] Tue Sep
16 21:52:33 2008
@@ -906,7 +906,7 @@
OBJECT_ATTRIBUTES ObjectAttributes;
SYSTEM_DEVICE_INFORMATION Sdi;
IO_STATUS_BLOCK Iosb;
- SIZE_T ReturnSize;
+ ULONG ReturnSize;
NTSTATUS Status;
ULONG DiskNumber;
WCHAR Buffer[MAX_PATH];