Add a test-case for git-apply trying to add an ending line
[gitweb.git] / patch-delta.c
index affd4f673d15657306acb74f2446d636a34c4fa5..8f318ed8aaf180419f97887501317fc1d2b54c09 100644 (file)
@@ -13,7 +13,7 @@
 #include <string.h>
 #include "delta.h"
 
-void *patch_delta(void *src_buf, unsigned long src_size,
+void *patch_delta(const void *src_buf, unsigned long src_size,
                  const void *delta_buf, unsigned long delta_size,
                  unsigned long *dst_size)
 {