]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Sockets/WebServer/SystemTable.c
Fix some errors detected by the GCC 4.4 compiler.
[mirror_edk2.git] / AppPkg / Applications / Sockets / WebServer / SystemTable.c
index 0d2a1f204051240f3e5d4a6da3866d2af5b3bcfc..916c4b92b68bbfe4e6f90175990a2d02757fe817 100644 (file)
@@ -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;
       }