summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 2c586b02e..c4cfbda51 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -38,7 +38,7 @@ DNSRequest::DNSRequest(const Anope::string &addr, QueryType qt, bool cache, Modu
return;
}
- short packet_id;
+ unsigned short packet_id;
while (DNSEngine->requests.count((packet_id = GetRandomID())));
p->id = this->id = packet_id;