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
This commit is contained in:
@@ -73,7 +73,7 @@ main (
|
||||
IpAddress[1] = (UINT8)RemoteAddress[1];
|
||||
IpAddress[2] = (UINT8)RemoteAddress[2];
|
||||
IpAddress[3] = (UINT8)RemoteAddress[3];
|
||||
pHost = gethostbyaddr ( &IpAddress[0], INADDRSZ, AF_INET );
|
||||
pHost = gethostbyaddr ( (const char *)&IpAddress[0], INADDRSZ, AF_INET );
|
||||
if ( NULL == pHost ) {
|
||||
Print ( L"ERROR - host not found, h_errno: %d\r\n", h_errno );
|
||||
}
|
||||
|
Reference in New Issue
Block a user