summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Sockets/WebServer/HTTP.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/HTTP.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/HTTP.c')
-rw-r--r--AppPkg/Applications/Sockets/WebServer/HTTP.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/AppPkg/Applications/Sockets/WebServer/HTTP.c b/AppPkg/Applications/Sockets/WebServer/HTTP.c
index 9a8bd70a9d..5237ac1a49 100644
--- a/AppPkg/Applications/Sockets/WebServer/HTTP.c
+++ b/AppPkg/Applications/Sockets/WebServer/HTTP.c
@@ -918,7 +918,7 @@ HttpSendDump (
Status = HttpSendHexBits ( SocketFD,
pPort,
sizeof ( pData ) * 8,
- (UINT64)pData );
+ (UINT64)(UINTN)pData );
if ( EFI_ERROR ( Status )) {
break;
}
@@ -1663,25 +1663,25 @@ HttpSendValue (
CONST UINT64 * pEnd;
CONST UINT64 * pDivisor;
CONST UINT64 pDivisors[ ] = {
- 10000000000000000000L,
- 1000000000000000000L,
- 100000000000000000L,
- 10000000000000000L,
- 1000000000000000L,
- 100000000000000L,
- 10000000000000L,
- 1000000000000L,
- 100000000000L,
- 10000000000L,
- 1000000000L,
- 100000000L,
- 10000000L,
- 1000000L,
- 100000L,
- 10000L,
- 1000L,
- 100L,
- 10L
+ 10000000000000000000ULL,
+ 1000000000000000000ULL,
+ 100000000000000000ULL,
+ 10000000000000000ULL,
+ 1000000000000000ULL,
+ 100000000000000ULL,
+ 10000000000000ULL,
+ 1000000000000ULL,
+ 100000000000ULL,
+ 10000000000ULL,
+ 1000000000ULL,
+ 100000000ULL,
+ 10000000ULL,
+ 1000000ULL,
+ 100000ULL,
+ 10000ULL,
+ 1000ULL,
+ 100ULL,
+ 10ULL
};
EFI_STATUS Status;
UINT64 Temp;