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:
lpleahy
2012-02-17 23:45:45 +00:00
parent 7700f0f5c0
commit 53c31c5164
4 changed files with 15 additions and 13 deletions

View File

@@ -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,