summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Sockets/WebServer/SystemTable.c
diff options
context:
space:
mode:
Diffstat (limited to 'AppPkg/Applications/Sockets/WebServer/SystemTable.c')
-rw-r--r--AppPkg/Applications/Sockets/WebServer/SystemTable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/AppPkg/Applications/Sockets/WebServer/SystemTable.c b/AppPkg/Applications/Sockets/WebServer/SystemTable.c
index 0d2a1f2040..916c4b92b6 100644
--- a/AppPkg/Applications/Sockets/WebServer/SystemTable.c
+++ b/AppPkg/Applications/Sockets/WebServer/SystemTable.c
@@ -358,7 +358,7 @@ RowPointer (
Status = HttpSendHexBits ( SocketFD,
pPort,
sizeof ( pAddress ) * 8,
- (UINT64) pAddress );
+ (UINT64)(UINTN)pAddress );
if ( EFI_ERROR ( Status )) {
break;
}
@@ -586,7 +586,7 @@ TableHeader (
Status = HttpSendHexBits ( SocketFD,
pPort,
sizeof ( pTable ) * 8,
- (UINT64)pTable );
+ (UINT64)(UINTN)pTable );
if ( EFI_ERROR ( Status )) {
break;
}