diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Settle the names, types and layout of the sources
Diffstat (limited to '')
-rw-r--r--source/ui-snapshot.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/ui-snapshot.c b/source/ui-snapshot.c
index 5dc4fec..97472c5 100644
--- a/source/ui-snapshot.c
+++ b/source/ui-snapshot.c
@@ -149,7 +149,7 @@ static const struct cgit_snapshot_format *get_format(const char *filename)
return NULL;
}
-const unsigned cgit_snapshot_format_bit(const struct cgit_snapshot_format *f)
+unsigned cgit_snapshot_format_bit(const struct cgit_snapshot_format *f)
{
return BIT(f - &cgit_snapshot_formats[0]);
}