From c05a218a9758225ddf94eedb365633f2154551da Mon Sep 17 00:00:00 2001 From: Wenyi Xie Date: Wed, 3 Aug 2022 17:27:22 +0800 Subject: EmbeddedPkg/GdbSerialDebugPortLib: fix compile warning The value of gTimeOut is from PcdGdbMaxPacketRetryCount, and this PCD is UINT32. So change the declaratrion of gTimeOut to UINT32 to fix compile warning. Signed-off-by: Wenyi Xie Reviewed-by: Ard Biesheuvel --- EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EmbeddedPkg/Library') diff --git a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c index 334eb77607..9f0f437c1d 100644 --- a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c +++ b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c @@ -17,7 +17,7 @@ #include EFI_DEBUGPORT_PROTOCOL *gDebugPort = NULL; -UINTN gTimeOut = 0; +UINT32 gTimeOut = 0; /** The constructor function initializes the UART. -- cgit v1.2.3