aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-27 23:35:04 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-27 23:35:04 +0000
commit806da0d8b2584fe741847d3b6f4cb4266c6a9080 (patch)
tree4de9c9befb721ee5b85b0f45e44cc1ffc7c76ca7 /src/or/control.c
parent30571317dda56a83eeb077af5f1fefc61c7d3c9c (diff)
downloadtor-806da0d8b2584fe741847d3b6f4cb4266c6a9080.tar
tor-806da0d8b2584fe741847d3b6f4cb4266c6a9080.tar.gz
Compile on win32
svn:r4496
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 582f6e001..752a6d4de 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -270,7 +270,7 @@ write_escaped_data(const char *data, size_t len, int translate_newlines,
const char *end;
int i;
int start_of_line;
- for (i=0; i<len; ++i) {
+ for (i=0; i<(int)len; ++i) {
if (data[i]== '\n')
++sz_out;
}