summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-12-12 02:56:17 +0000
committerNick Mathewson <nickm@torproject.org>2006-12-12 02:56:17 +0000
commit991308fac934881c6712b7a1422acaf600f81155 (patch)
tree7ef5c52069db47d7bd3fa1b33514e0e191625c7f /src/or/eventdns.c
parent15fdd782b0c9b1a8f007ded1a3640939e5c5a9b6 (diff)
downloadtor-991308fac934881c6712b7a1422acaf600f81155.tar.gz
tor-991308fac934881c6712b7a1422acaf600f81155.zip
svn:r9079
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 6ec73d6926..f333cf3983 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -1422,7 +1422,7 @@ evdns_request_data_build(const char *const name, const int name_len, const u16 t
j = dnsname_to_labels(buf, buf_len, j, name, name_len, NULL);
if (j < 0) {
- return j;
+ return (int)j;
}
APPEND16(type);