# HG changeset patch # User Olaf Wintermann # Date 1540026218 -7200 # Node ID 9435cb1ddf76bf4c5d925c6ff5bd931399eef7e3 # Parent 7ed43dd4d5bf545f5d4a241365351f5e9e0ab5e8 fixes wrong integer type diff -r 7ed43dd4d5bf -r 9435cb1ddf76 dav/main.c --- a/dav/main.c Sat Oct 20 10:22:42 2018 +0200 +++ b/dav/main.c Sat Oct 20 11:03:38 2018 +0200 @@ -2011,4 +2011,5 @@ fprintf(stderr, "Repository %s does not exist.\n", reponame.ptr); return -1; } + return 0; } 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;