https://git.reactos.org/?p=reactos.git;a=commitdiff;h=925f1a67ea3db34be9693…
commit 925f1a67ea3db34be9693660b2182c4191233f44
Author: Ivan Labutin <linuxrf(a)gmail.com>
AuthorDate: Mon Nov 13 18:26:37 2017 +0300
[SAC] Fix wrong sized variable in SAC driver
---
drivers/sac/driver/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sac/driver/init.c b/drivers/sac/driver/init.c
index 974b67a80b..d11e6948a3 100644
--- a/drivers/sac/driver/init.c
+++ b/drivers/sac/driver/init.c
@@ -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;