Commit e33cd0d1 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll/tests: Fix alignment issues on 64-bit.

parent d3dfed51
...@@ -2247,7 +2247,7 @@ static void test_token(void) ...@@ -2247,7 +2247,7 @@ static void test_token(void)
static void *align_ptr( void *ptr ) static void *align_ptr( void *ptr )
{ {
ULONG align = sizeof(DWORD_PTR) - 1; ULONG_PTR align = sizeof(DWORD_PTR) - 1;
return (void *)(((DWORD_PTR)ptr + align) & ~align); return (void *)(((DWORD_PTR)ptr + align) & ~align);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment