aboutsummaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-26 22:03:26 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-26 22:03:26 +0000
commitba7868c7b312dc16236d3c5ac73028a4e732538c (patch)
tree80f86dd4afed26fb53f471b6c166d3554194c3d9 /src/or/eventdns.c
parentcd2425ffa0cd3308dedfd79bf574a115622e2574 (diff)
downloadtor-ba7868c7b312dc16236d3c5ac73028a4e732538c.tar
tor-ba7868c7b312dc16236d3c5ac73028a4e732538c.tar.gz
r8969@Kushana: nickm | 2006-09-26 18:00:36 -0400
Remove a signed/unsigned comparison in eventdns.c svn:r8508
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 c41065818..c0d974e0b 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -1204,7 +1204,7 @@ evdns_request_data_build(const char *const name, const int name_len, const u16 t
free(labels);
return labels_len;
}
- if (j + labels_len > buf_len) {
+ if ((size_t)(j + labels_len) > buf_len) {
free(labels);
return (-1);
}