Fix the errors detected by the GCC compiler:
* Add EFIAPI to the timer callbacks * Fix 32-bit pointer casts Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13024 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -65,7 +65,7 @@ main (
|
||||
Print ( L"ERROR - network not found, errno: %d\r\n", errno );
|
||||
}
|
||||
else {
|
||||
pIpAddress = (UINT8 *)pNetwork->n_net;
|
||||
pIpAddress = (UINT8 *)(UINTN)&pNetwork->n_net;
|
||||
Print ( L"%a: Type %d, %d.%d.%d.%d\r\n",
|
||||
pNetwork->n_name,
|
||||
pNetwork->n_addrtype,
|
||||
|
Reference in New Issue
Block a user