diff -r 7ed43dd4d5bf -r 9435cb1ddf76 libidav/crypto.c --- a/libidav/crypto.c Sat Oct 20 10:22:42 2018 +0200 +++ b/libidav/crypto.c Sat Oct 20 11:03:38 2018 +0200 @@ -551,7 +551,7 @@ size_t avail = outlen; status = CCCryptorUpdate(enc->ctx, in, in_len, out + ivl, avail, &outlen); if(in_len != len) { - int newoutlen = 16; + size_t newoutlen = 16; status = CCCryptorFinal(enc->ctx, out + ivl + outlen, 16, &newoutlen); outlen += newoutlen; enc->end = 1;