diff options
-rw-r--r-- | src/hashcomp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 0188f82b6..e1dbad06f 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -417,8 +417,8 @@ long irc::portparser::GetToken() { std::string sbegin = x.substr(0, dash); std::string send = x.substr(dash+1, x.length()); - long range_begin = atoi(sbegin.c_str()); - long range_end = atoi(send.c_str()); + range_begin = atoi(sbegin.c_str()); + range_end = atoi(send.c_str()); if ((range_begin > 0) && (range_end > 0) && (range_begin < 65536) && (range_end < 65536) && (range_begin < range_end)) { |