Commit d89f1fe5ca31004b35ec23f4abc23ff6350e08e8

Colin Stolley 2022-01-13T17:20:09

Update src/refdb_fs.c Co-authored-by: Edward Thomson <ethomson@github.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index f8b56fa..3317d6b 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -452,8 +452,8 @@ static int ref_error_notfound(const char *name)
 	return GIT_ENOTFOUND;
 }
 
-static const char *packed_set_peeling_mode(
-        const char *data,
+static char *packed_set_peeling_mode(
+        char *data,
         size_t data_sz,
         refdb_fs_backend *backend)
 {