Try to fix the error detected by the 64-bit GCC compiler.

Signed-off-by: lpleahy

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13478 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lpleahy 2012-06-28 00:35:53 +00:00
parent ccd2f6b0c6
commit 79a45605ca
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ ns_ntoa(
u_char *uplim = up + 6; u_char *uplim = up + 6;
net.net_e = addr.x_net; net.net_e = addr.x_net;
sprintf(obuf, "%Lx", (u_long)ntohl(net.long_e)); sprintf(obuf, "%x", (UINT32)ntohl(net.long_e));
cp = spectHex(obuf); cp = spectHex(obuf);
cp2 = cp + 1; cp2 = cp + 1;
while (*up==0 && up < uplim) up++; while (*up==0 && up < uplim) up++;