Commit a0381cf2362f31a761b634db86fd529d081f7507

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

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
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;
 	}