Fix test
Spotted by Alex
svn path=/trunk/; revision=69516
{
Buffers[i] = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_CREATE_ALIGN_16, (i % 16 ) + 1);
ASSERT(Buffers[i] != NULL);
{
Buffers[i] = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_CREATE_ALIGN_16, (i % 16 ) + 1);
ASSERT(Buffers[i] != NULL);
- if (!((ULONG_PTR)Buffers[i] & 0x2))
+ if (!((ULONG_PTR)Buffers[i] & 0xF))
RtlFreeHeap(RtlGetProcessHeap(), 0, Buffers[i]);
}
RtlFreeHeap(RtlGetProcessHeap(), 0, Buffers[i]);
}
- ok(Aligned == FALSE, "No unaligned address returned\n");
+ ok(Aligned == FALSE, "No unaligned address returned\n");
Aligned = TRUE;
Parameters.Length = sizeof(Parameters);
Aligned = TRUE;
Parameters.Length = sizeof(Parameters);
{
Buffers[i] = RtlAllocateHeap(hHeap, 0, (i % 16 ) + 1);
ASSERT(Buffers[i] != NULL);
{
Buffers[i] = RtlAllocateHeap(hHeap, 0, (i % 16 ) + 1);
ASSERT(Buffers[i] != NULL);
- if (!((ULONG_PTR)Buffers[i] & 0x2))
+ if (!((ULONG_PTR)Buffers[i] & 0xF))
- ok(Aligned == FALSE, "No unaligned address returned\n");
+ ok(Aligned == TRUE, "Unaligned address returned\n");