summaryrefslogtreecommitdiff
path: root/StdLib
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2013-11-20 19:07:31 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2013-11-20 19:07:31 +0000
commita93b0f45492e1d72352cbee73b6cc3819128d9d4 (patch)
tree9655a31c457e8a9e7204d9ff3f5d0b4a8c9089cd /StdLib
parent2dc09dd50fe30496efe9922ee6177ed7bdef6bc2 (diff)
downloadedk2-platforms-a93b0f45492e1d72352cbee73b6cc3819128d9d4.tar.xz
Fix GCC build errors
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14876 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib')
-rw-r--r--StdLib/EfiSocketLib/Ip4.c2
-rw-r--r--StdLib/EfiSocketLib/Tcp4.c2
-rw-r--r--StdLib/EfiSocketLib/Tcp6.c2
-rw-r--r--StdLib/EfiSocketLib/Udp4.c2
-rw-r--r--StdLib/EfiSocketLib/Udp6.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/StdLib/EfiSocketLib/Ip4.c b/StdLib/EfiSocketLib/Ip4.c
index 1f7096e7c6..ed71194163 100644
--- a/StdLib/EfiSocketLib/Ip4.c
+++ b/StdLib/EfiSocketLib/Ip4.c
@@ -1422,5 +1422,5 @@ CONST ESL_PROTOCOL_API cEslIp4Api = {
EslIp4TxBuffer,
EslIp4TxComplete,
NULL, // TxOobComplete
- EslIp4VerifyLocalIpAddress
+ (PFN_API_VERIFY_LOCAL_IP_ADDRESS)EslIp4VerifyLocalIpAddress
};
diff --git a/StdLib/EfiSocketLib/Tcp4.c b/StdLib/EfiSocketLib/Tcp4.c
index 1e1d62a7d1..4ef46283b4 100644
--- a/StdLib/EfiSocketLib/Tcp4.c
+++ b/StdLib/EfiSocketLib/Tcp4.c
@@ -2418,5 +2418,5 @@ CONST ESL_PROTOCOL_API cEslTcp4Api = {
EslTcp4TxBuffer,
EslTcp4TxComplete,
EslTcp4TxOobComplete,
- EslTcp4VerifyLocalIpAddress
+ (PFN_API_VERIFY_LOCAL_IP_ADDRESS)EslTcp4VerifyLocalIpAddress
};
diff --git a/StdLib/EfiSocketLib/Tcp6.c b/StdLib/EfiSocketLib/Tcp6.c
index d68cb76cb8..b2e5538daf 100644
--- a/StdLib/EfiSocketLib/Tcp6.c
+++ b/StdLib/EfiSocketLib/Tcp6.c
@@ -2590,5 +2590,5 @@ CONST ESL_PROTOCOL_API cEslTcp6Api = {
EslTcp6TxBuffer,
EslTcp6TxComplete,
EslTcp6TxOobComplete,
- EslTcp6VerifyLocalIpAddress
+ (PFN_API_VERIFY_LOCAL_IP_ADDRESS)EslTcp6VerifyLocalIpAddress
};
diff --git a/StdLib/EfiSocketLib/Udp4.c b/StdLib/EfiSocketLib/Udp4.c
index 9ab96ac410..7fece75095 100644
--- a/StdLib/EfiSocketLib/Udp4.c
+++ b/StdLib/EfiSocketLib/Udp4.c
@@ -1220,5 +1220,5 @@ CONST ESL_PROTOCOL_API cEslUdp4Api = {
EslUdp4TxBuffer,
EslUdp4TxComplete,
NULL, // TxOobComplete
- EslUdp4VerifyLocalIpAddress
+ (PFN_API_VERIFY_LOCAL_IP_ADDRESS)EslUdp4VerifyLocalIpAddress
};
diff --git a/StdLib/EfiSocketLib/Udp6.c b/StdLib/EfiSocketLib/Udp6.c
index 59b99f84dd..34df064941 100644
--- a/StdLib/EfiSocketLib/Udp6.c
+++ b/StdLib/EfiSocketLib/Udp6.c
@@ -1375,5 +1375,5 @@ CONST ESL_PROTOCOL_API cEslUdp6Api = {
EslUdp6TxBuffer,
EslUdp6TxComplete,
NULL, // TxOobComplete
- EslUdp6VerifyLocalIpAddress
+ (PFN_API_VERIFY_LOCAL_IP_ADDRESS)EslUdp6VerifyLocalIpAddress
};