Update src/refdb_fs.c Co-authored-by: Edward Thomson <ethomson@github.com>
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 2a80337..6b79073 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -457,7 +457,7 @@ static char *packed_set_peeling_mode(
refdb_fs_backend *backend)
{
static const char *traits_header = "# pack-refs with:";
- const char *eol;
+ char *eol;
backend->peeling_mode = PEELING_NONE;
if (data_sz == 0 || *data != '#') {