Skip to content

Commit c05a218

Browse files
Wenyi Xiemergify[bot]
authored andcommitted
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 <xiewenyi2@huawei.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
1 parent b5d1dc9 commit c05a218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <Protocol/DebugPort.h>
1818

1919
EFI_DEBUGPORT_PROTOCOL *gDebugPort = NULL;
20-
UINTN gTimeOut = 0;
20+
UINT32 gTimeOut = 0;
2121

2222
/**
2323
The constructor function initializes the UART.

0 commit comments

Comments
 (0)