diff options
| author | Wei Mao <[email protected]> | 2017-03-20 18:09:29 -0700 |
|---|---|---|
| committer | Wei Mao <[email protected]> | 2017-03-20 18:09:29 -0700 |
| commit | 88541f70c4273ecd30c8c7c72135bc038a00fd88 (patch) | |
| tree | 922a00c16f87d7d8afc912db441a61397207e3ab /storage/class | |
| parent | 70448f6d9a23626b0ea4e60d3c346328d5213236 (diff) | |
Fix build failures
Diffstat (limited to 'storage/class')
| -rw-r--r-- | storage/class/classpnp/src/xferpkt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/class/classpnp/src/xferpkt.c b/storage/class/classpnp/src/xferpkt.c index e66918b0..29019140 100644 --- a/storage/class/classpnp/src/xferpkt.c +++ b/storage/class/classpnp/src/xferpkt.c @@ -155,10 +155,10 @@ NTSTATUS InitializeTransferPackets(PDEVICE_OBJECT Fdo) } else { // this is Server SKU - // Note: the addition max here to make sure we set the min to be at least - // MIN_WORKINGSET_TRANSFER_PACKETS_Server_LowerBound no matter what maxOutstandingIOPerLUN - // reported. We shouldn't set this value to be smaller than client system. - // In other words, the minWorkingSetTransferPackets for server will always between + // Note: the addition max here to make sure we set the min to be at least + // MIN_WORKINGSET_TRANSFER_PACKETS_Server_LowerBound no matter what maxOutstandingIOPerLUN + // reported. We shouldn't set this value to be smaller than client system. + // In other words, the minWorkingSetTransferPackets for server will always between // MIN_WORKINGSET_TRANSFER_PACKETS_Server_LowerBound and MIN_WORKINGSET_TRANSFER_PACKETS_Server_UpperBound minWorkingSetTransferPackets = @@ -1578,7 +1578,7 @@ CleanupTransferPacketToWorkingSetSizeWorker( _In_ PIO_WORKITEM IoWorkItem ) { - ULONG node = (ULONG) Context; + ULONG node = (ULONG) (ULONG_PTR)Context; PAGED_CODE(); |
