[SAC] Fix wrong sized variable in SAC driver
authorIvan Labutin <linuxrf@gmail.com>
Mon, 13 Nov 2017 15:26:37 +0000 (18:26 +0300)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 20 Dec 2017 05:56:09 +0000 (06:56 +0100)
drivers/sac/driver/init.c

index 974b67a..d11e694 100644 (file)
@@ -18,7 +18,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
             IN PUNICODE_STRING RegistryPath)
 {
     HEADLESS_RSP_QUERY_INFO HeadlessInformation;
-    ULONG InfoSize = sizeof(HeadlessInformation);
+    SIZE_T InfoSize = sizeof(HeadlessInformation);
     NTSTATUS Status;
     UNICODE_STRING DriverName;
     PDEVICE_OBJECT DeviceObject;