summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 09:42:45 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 09:42:45 +0200
commit4434dd24f16f9ada9acb90aaf0ad226ed17ab52e (patch)
tree88a3b171ed9a3eabc89ba78c51a9f0c07a8a4680
parent8a27e29f7efa8177a598747b3e9acd8008b115c7 (diff)
downloadtinyproxy-4434dd24f16f9ada9acb90aaf0ad226ed17ab52e.tar.gz
tinyproxy-4434dd24f16f9ada9acb90aaf0ad226ed17ab52e.zip
send_stored_logs: fix signed/unsigned comparison
Michael
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index 6528c1e..80d044c 100644
--- a/src/log.c
+++ b/src/log.c
@@ -214,7 +214,7 @@ send_stored_logs (void)
size_t i;
- for (i = 0; i != vector_length (log_message_storage); ++i)
+ for (i = 0; (ssize_t)i != vector_length (log_message_storage); ++i)
{
string = vector_getentry (log_message_storage, i, NULL);