diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-24 06:32:20 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-24 06:32:20 +0000 |
commit | c12a1f1e3ad5d8baca70e5b17a6f19b0bbdcb022 (patch) | |
tree | 421d51d4839377ab6dc83195b2e7d6e9f0777a23 /src | |
parent | 28c2bd905e6e65735cd8c05a6fc28195cf384e77 (diff) | |
download | tor-c12a1f1e3ad5d8baca70e5b17a6f19b0bbdcb022.tar tor-c12a1f1e3ad5d8baca70e5b17a6f19b0bbdcb022.tar.gz |
r11701@Kushana: nickm | 2006-12-24 01:24:39 -0500
fix warning on win32.
svn:r9184
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 962ea761c..9b3cca19d 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3362,7 +3362,7 @@ parse_dir_server_line(const char *line, int validate_only) } else if (!strcasecmpstart(flag, "orport=")) { int ok; flag += strlen("orport="); - or_port = tor_parse_long(flag, 10, 1, 65535, &ok, NULL); + or_port = (uint16_t) tor_parse_long(flag, 10, 1, 65535, &ok, NULL); if (!ok) log_warn(LD_CONFIG, "Invalid orport '%s' on DirServer line.", flag); } else { |