aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim-aio.c b/jim-aio.c
index 878fabc..313108b 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -224,7 +224,7 @@ static int ssl_reader(struct AioFile *af, char *buf, int len)
static const char *ssl_getline(struct AioFile *af, char *buf, int len)
{
- int i;
+ size_t i;
for (i = 0; i < len + 1; i++) {
if (SSL_read(af->ssl, &buf[i], 1) != 1) {
if (i == 0) {