mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[PARTMGR] Fix x64 build warning
warning C4267: 'function': conversion from 'size_t' to 'ULONG', possible loss of data' The OutputBufferLength member that was temporarily stored in outBufferLength is already a ULONG, and IssueSyncIoControlRequest() takes the length as a ULONG. So there is no need to use 'size_t' here.
This commit is contained in:
parent
ba6e9a09be
commit
2d6bbdc6ed
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ FdoIoctlDiskGetDriveGeometryEx(
|
|||
// as disk.sys doesn't really know about the partition table on a disk
|
||||
|
||||
PDISK_GEOMETRY_EX_INTERNAL geometryEx = Irp->AssociatedIrp.SystemBuffer;
|
||||
size_t outBufferLength = ioStack->Parameters.DeviceIoControl.OutputBufferLength;
|
||||
ULONG outBufferLength = ioStack->Parameters.DeviceIoControl.OutputBufferLength;
|
||||
NTSTATUS status;
|
||||
|
||||
status = IssueSyncIoControlRequest(IOCTL_DISK_GET_DRIVE_GEOMETRY_EX,
|
||||
|
|
Loading…
Reference in a new issue