Fix compilation errors detected with GCC 4.4

Signed-off-by: lpleahy

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12504 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lpleahy
2011-09-30 23:52:45 +00:00
parent 59bc059327
commit 58081f2c64
4 changed files with 37 additions and 34 deletions

View File

@@ -204,7 +204,7 @@ EslIp4OptionGet (
break;
case IP_HDRINCL:
*ppOptionData = (void *)pSocket->bIncludeHeader;
*ppOptionData = (void *)&pSocket->bIncludeHeader;
*pOptionLength = sizeof ( pSocket->bIncludeHeader );
break;
}