summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-11 15:37:39 -0400
committerAdam <Adam@anope.org>2010-10-11 15:37:39 -0400
commit717c123441bb47a4fab859e8fb3ec8c6ac5b7223 (patch)
tree3be1a3376caafdd8ca9bf75d7acf98020cf94a7c /src/dns.cpp
parent0ac77d0e42952765d2899565427ce92679142c17 (diff)
Fixed some warnings
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;