[KERNEL32] Align the PROCESS_PRIORITY_CLASS variable in GetPriorityClass on a 4-byte...
[reactos.git] / dll / win32 / kernel32 / client / proc.c
index e107c19..3b7d6f0 100644 (file)
@@ -1658,7 +1658,7 @@ WINAPI
 GetPriorityClass(IN HANDLE hProcess)
 {
     NTSTATUS Status;
-    PROCESS_PRIORITY_CLASS PriorityClass;
+    PROCESS_PRIORITY_CLASS DECLSPEC_ALIGN(4) PriorityClass;
 
     /* Query the kernel */
     Status = NtQueryInformationProcess(hProcess,