summaryrefslogtreecommitdiff
path: root/patch-delta.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-05 02:35:58 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-05 02:50:11 -0700
commitac4c758adcf52b913b82d481626b0f8648e95475 (patch)
treedd5ea5058d21f9eae318bfdd19786df07e3e3468 /patch-delta.c
parentfb335158d5a93349e16bc0985e75e93bb9fcd5eb (diff)
downloadgit-ac4c758adcf52b913b82d481626b0f8648e95475.tar.gz
delta: stricter constness
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'patch-delta.c')
-rw-r--r--patch-delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch-delta.c b/patch-delta.c
index d95f0d9721..affd4f673d 100644
--- a/patch-delta.c
+++ b/patch-delta.c
@@ -14,7 +14,7 @@
#include "delta.h"
void *patch_delta(void *src_buf, unsigned long src_size,
- void *delta_buf, unsigned long delta_size,
+ const void *delta_buf, unsigned long delta_size,
unsigned long *dst_size)
{
const unsigned char *data, *top;