Make MdeModulePkg GCC clean.
It also pass ICC+IPF and MYTOOLS+EBC build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3711 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -306,7 +306,7 @@ Ip4Output (
|
||||
// them. Tag each fragment other than the first one as spawn from it.
|
||||
//
|
||||
Mtu = IpSb->SnpMode.MaxPacketSize;
|
||||
HeadLen = sizeof (IP4_HEAD) + (OptLen + 3) &~0x03;
|
||||
HeadLen = sizeof (IP4_HEAD) + ((OptLen + 3) & (~0x03));
|
||||
Head->Id = mIp4Id++;
|
||||
|
||||
if (Packet->TotalSize + HeadLen > Mtu) {
|
||||
|
Reference in New Issue
Block a user