diff options
author | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-06-28 00:35:53 +0000 |
---|---|---|
committer | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-06-28 00:35:53 +0000 |
commit | 79a45605ca06542a7b2f074651619e4e8038992a (patch) | |
tree | c093897515abc5f65eb0e1c7c4b78532c1415ec0 /StdLib/BsdSocketLib | |
parent | ccd2f6b0c6bade1a04bf91beea5c9bf55cb2f83a (diff) | |
download | edk2-79a45605ca06542a7b2f074651619e4e8038992a.zip edk2-79a45605ca06542a7b2f074651619e4e8038992a.tar.gz edk2-79a45605ca06542a7b2f074651619e4e8038992a.tar.bz2 |
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
Diffstat (limited to 'StdLib/BsdSocketLib')
-rw-r--r-- | StdLib/BsdSocketLib/ns_ntoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/BsdSocketLib/ns_ntoa.c b/StdLib/BsdSocketLib/ns_ntoa.c index d079dc8..5195d4e 100644 --- a/StdLib/BsdSocketLib/ns_ntoa.c +++ b/StdLib/BsdSocketLib/ns_ntoa.c @@ -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++;
|