Sat, 20 Oct 2018 11:03:38 +0200
fixes wrong integer type
dav/main.c | file | annotate | diff | comparison | revisions | |
libidav/crypto.c | file | annotate | diff | comparison | revisions |
--- 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; }
--- 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;