struct sha1_ctx ctx;
sha1_init(&ctx);
- sha1_update(&ctx, lhs, l-lhs);
- sha1_update(&ctx, rhs, r-rhs);
+ sha1_update(&ctx, (unsigned char *) lhs, l-lhs);
+ sha1_update(&ctx, (unsigned char *) rhs, r-rhs);
sha1_final(&ctx, item->digest);
item->timestamp = 1;
if (verbose >= 1)