[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9184: fix warning on win32. (in tor/trunk: . src/or)
Author: nickm
Date: 2006-12-24 01:32:20 -0500 (Sun, 24 Dec 2006)
New Revision: 9184
Modified:
tor/trunk/
tor/trunk/src/or/config.c
Log:
r11701@Kushana: nickm | 2006-12-24 01:24:39 -0500
fix warning on win32.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r11701] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c 2006-12-24 06:32:15 UTC (rev 9183)
+++ tor/trunk/src/or/config.c 2006-12-24 06:32:20 UTC (rev 9184)
@@ -3362,7 +3362,7 @@
} 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 {