aboutsummaryrefslogtreecommitdiffstats
path: root/checksum.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-11-19 00:23:21 +0000
committerWayne Davison <wayned@samba.org>2006-11-19 00:23:21 +0000
commit4a19c3b254b01c298fe25d72f450a760278e9386 (patch)
tree7fa0be332e7ae1c85d92b836f68f5fe60b623a97 /checksum.c
parent4743f0f41b2e180d22616c89331ee3b06d628628 (diff)
downloadandroid_external_rsync-4a19c3b254b01c298fe25d72f450a760278e9386.tar.gz
android_external_rsync-4a19c3b254b01c298fe25d72f450a760278e9386.tar.bz2
android_external_rsync-4a19c3b254b01c298fe25d72f450a760278e9386.zip
Added "const" to appropriate char pointers.
Diffstat (limited to 'checksum.c')
-rw-r--r--checksum.c2
1 files changed, 1 insertions, 1 deletions
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);