X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4743f0f41b2e180d22616c89331ee3b06d628628..4a19c3b254b01c298fe25d72f450a760278e9386:/checksum.c diff --git a/checksum.c b/checksum.c index e3ced51f..c8b6cdf6 100644 --- a/checksum.c +++ b/checksum.c @@ -151,7 +151,7 @@ void sum_init(int seed) * @todo Perhaps get rid of md and just pass in the address each time. * Very slightly clearer and slower. **/ -void sum_update(char *p, int32 len) +void sum_update(const char *p, int32 len) { if (len + sumresidue < CSUM_CHUNK) { memcpy(sumrbuf + sumresidue, p, len);