From 3d1cd3f60eee4632cb7362ccfc728a461cec10df Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Dec 2005 00:11:36 +0000 Subject: Changed to %u for unsigned git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2092 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dns.cpp') diff --git a/src/dns.cpp b/src/dns.cpp index 5d6431265..b5488b960 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -717,7 +717,7 @@ std::string DNS::GetResultIP() } if (result) { - sprintf(r,"%ld.%ld.%ld.%ld",result[0],result[1],result[2],result[3]); + sprintf(r,"%u.%u.%u.%u",result[0],result[1],result[2],result[3]); return r; } else -- cgit v1.2.3