mirror of https://github.com/acidanthera/audk.git
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:
parent
ccd2f6b0c6
commit
79a45605ca
|
@ -55,7 +55,7 @@ ns_ntoa(
|
|||
u_char *uplim = up + 6;
|
||||
|
||||
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);
|
||||
cp2 = cp + 1;
|
||||
while (*up==0 && up < uplim) up++;
|
||||
|
|
Loading…
Reference in New Issue