mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
dns: iterators which are integer should always be unsigned, else an integer underflow is possible.
Signed-off-by: William Pitcock <nenolod@dereferenced.org>
This commit is contained in:
parent
eba7e6655a
commit
a6a07de0da
@ -690,7 +690,7 @@ DNSResult DNS::GetResult()
|
||||
/** A result is ready, process it */
|
||||
DNSInfo DNSRequest::ResultIsReady(DNSHeader &header, int length)
|
||||
{
|
||||
int i = 0;
|
||||
unsigned i = 0;
|
||||
int q = 0;
|
||||
int curanswer, o;
|
||||
ResourceRecord rr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user