From 1be0dda62d546b09d6892e09c48910ace6d57f01 Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 8 Apr 2008 20:59:38 +0000 Subject: Fix warnings generated by gcc for ia32 builds: 'cast from pointer to integer of different size' when casting from a pointer directly to a 64 bit number. Added an intermediate cast to UINTN. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5009 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Nt32Pkg/WinNtGopDxe') diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c b/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c index f951e87dfe..f663f3243b 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopScreen.c @@ -1031,7 +1031,7 @@ WinNtGopConstructor ( Private->GraphicsOutput.Mode->Info->VerticalResolution = 0; Private->GraphicsOutput.Mode->Info->PixelFormat = PixelBltOnly; Private->GraphicsOutput.Mode->SizeOfInfo = sizeof (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION); - Private->GraphicsOutput.Mode->FrameBufferBase = (EFI_PHYSICAL_ADDRESS) NULL; + Private->GraphicsOutput.Mode->FrameBufferBase = (EFI_PHYSICAL_ADDRESS) (UINTN) NULL; Private->GraphicsOutput.Mode->FrameBufferSize = 0; Private->HardwareNeedsStarting = TRUE; -- cgit v1.2.3