diff options
author | Adam <Adam@anope.org> | 2010-10-11 15:37:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-11 15:37:39 -0400 |
commit | 717c123441bb47a4fab859e8fb3ec8c6ac5b7223 (patch) | |
tree | 3be1a3376caafdd8ca9bf75d7acf98020cf94a7c /src/dns.cpp | |
parent | 0ac77d0e42952765d2899565427ce92679142c17 (diff) |
Fixed some warnings
Diffstat (limited to 'src/dns.cpp')
-rw-r--r-- | src/dns.cpp | 2 |
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; |