From bbb5d06bc958a711e6b2a1df3214b1fd7b858bb0 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 25 Jun 2020 14:34:38 +0000 Subject: __ntapi_blt_alloc(): use (-1), not an explicit representation (32-bit support). --- src/blitter/ntapi_blt_alloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/blitter') diff --git a/src/blitter/ntapi_blt_alloc.c b/src/blitter/ntapi_blt_alloc.c index 92a84e9..c4b69e5 100644 --- a/src/blitter/ntapi_blt_alloc.c +++ b/src/blitter/ntapi_blt_alloc.c @@ -79,8 +79,7 @@ int32_t __fastcall __ntapi_blt_alloc( if (!(params->flags & NT_BLITTER_PRESERVE_BITS)) __ntapi->tt_aligned_block_memset( - blt_ctx->bitmap, - 0xFFFFFFFFFFFFFFFF, + blt_ctx->bitmap,(-1), ptrs * sizeof(uintptr_t)); /* info structure */ -- cgit v1.2.3