summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Sockets/WebServer/SystemTable.c
diff options
context:
space:
mode:
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-10 03:46:25 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-10 03:46:25 +0000
commitd3a595ceb902372504db27442bca278c67d41b10 (patch)
treee85752587f3ebfe199b42dd2f00c070e01b85d1f /AppPkg/Applications/Sockets/WebServer/SystemTable.c
parent826f9005c21d61845f64f779bc86c4ca15caa1e6 (diff)
downloadedk2-platforms-d3a595ceb902372504db27442bca278c67d41b10.tar.xz
Fix some errors detected by the GCC 4.4 compiler.
Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13007 6f19259b-4bc3-4df7-8a09-765794883524
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;
}