From 0af3a01acfb824e591cb5420777bd88d384672e2 Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Sun, 7 Apr 2024 10:50:21 +0200 Subject: [PATCH] Pass compatible pointer type to fix compiler warning --- xtldr/modules/framebuf/framebuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtldr/modules/framebuf/framebuf.c b/xtldr/modules/framebuf/framebuf.c index 250e1c1..a80da4d 100644 --- a/xtldr/modules/framebuf/framebuf.c +++ b/xtldr/modules/framebuf/framebuf.c @@ -158,7 +158,7 @@ FbInitializeDisplay() EFI_GUID UgaGuid = EFI_UNIVERSAL_GRAPHICS_ADAPTER_PROTOCOL_GUID; PEFI_GRAPHICS_OUTPUT_MODE_INFORMATION GopModeInfo; UINT Depth, QueryMode, Refresh; - ULONG_PTR InfoSize; + UINT_PTR InfoSize; EFI_STATUS Status; /* Check if framebuffer already initialized */