diff options
author | Wenyi Xie <xiewenyi2@huawei.com> | 2022-08-03 17:27:22 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-09-05 13:52:51 +0000 |
commit | c05a218a9758225ddf94eedb365633f2154551da (patch) | |
tree | ccc21820683f8d38fd3ea914d4cb5385aa49508b /EmbeddedPkg | |
parent | b5d1dc94d08acf4bb8b95fe50baff3d605714015 (diff) | |
download | edk2-c05a218a9758225ddf94eedb365633f2154551da.tar.gz edk2-c05a218a9758225ddf94eedb365633f2154551da.tar.bz2 edk2-c05a218a9758225ddf94eedb365633f2154551da.zip |
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>
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r-- | EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <Protocol/DebugPort.h>
EFI_DEBUGPORT_PROTOCOL *gDebugPort = NULL;
-UINTN gTimeOut = 0;
+UINT32 gTimeOut = 0;
/**
The constructor function initializes the UART.
|