[NTOS] Do not force-align an integer value
authorJérôme Gardou <jerome.gardou@reactos.org>
Mon, 12 Apr 2021 12:17:14 +0000 (14:17 +0200)
committerJérôme Gardou <zefklop@users.noreply.github.com>
Wed, 28 Apr 2021 11:10:23 +0000 (13:10 +0200)
ntoskrnl/include/internal/io.h
ntoskrnl/io/pnpmgr/pnpirp.c

index e43f476..12f9ebe 100644 (file)
@@ -1389,7 +1389,7 @@ PiIrpQueryDeviceRelations(
 NTSTATUS
 PiIrpQueryDeviceText(
     _In_ PDEVICE_NODE DeviceNode,
-    _In_ LCID POINTER_ALIGNMENT LocaleId,
+    _In_ LCID LocaleId,
     _In_ DEVICE_TEXT_TYPE Type,
     _Out_ PWSTR *DeviceText);
 
index 48d924d..66e4382 100644 (file)
@@ -200,7 +200,7 @@ PiIrpQueryDeviceRelations(
 NTSTATUS
 PiIrpQueryDeviceText(
     _In_ PDEVICE_NODE DeviceNode,
-    _In_ LCID POINTER_ALIGNMENT LocaleId,
+    _In_ LCID LocaleId,
     _In_ DEVICE_TEXT_TYPE Type,
     _Out_ PWSTR *DeviceText)
 {
@@ -236,7 +236,7 @@ PiIrpQueryPnPDeviceState(
     PAGED_CODE();
 
     ASSERT(DeviceNode);
-    ASSERT(DeviceNode->State == DeviceNodeStartPostWork || 
+    ASSERT(DeviceNode->State == DeviceNodeStartPostWork ||
            DeviceNode->State == DeviceNodeStarted);
 
     ULONG_PTR longState;