diff options
author | Wayne Davison <wayned@samba.org> | 2006-11-19 00:23:21 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-11-19 00:23:21 +0000 |
commit | 4a19c3b254b01c298fe25d72f450a760278e9386 (patch) | |
tree | 7fa0be332e7ae1c85d92b836f68f5fe60b623a97 /checksum.c | |
parent | 4743f0f41b2e180d22616c89331ee3b06d628628 (diff) | |
download | android_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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |