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 8ec0efe..f8b56fa 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -141,7 +141,7 @@ static int packed_reload(refdb_fs_backend *backend)
scan = (char *)packedrefs.ptr;
eof = scan + packedrefs.size;
- scan = (char *)packed_set_peeling_mode(scan, packedrefs.size, backend);
+ scan = packed_set_peeling_mode(scan, packedrefs.size, backend);
if (!scan) {
goto parse_failed;
}