We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa1ec36 commit a4cd985Copy full SHA for a4cd985
ext/rugged/rugged_refdb_backend_custom.c
@@ -93,7 +93,7 @@ static VALUE rb_git_refdb_backend_custom_new(VALUE self, VALUE rb_repo)
93
backend->parent.exists = &rugged_refdb_backend_custom__exists;
94
backend->parent.compress = &rugged_refdb_backend_custom__compress;
95
backend->parent.lookup = &rugged_refdb_backend_custom__lookup;
96
- backend->parent.free = xfree;
+ backend->parent.free = (void (*)(git_refdb_backend *)) &xfree;
97
98
backend->self = Data_Wrap_Struct(self, NULL, rb_git_refdb_backend__free, backend);
99
return backend->self;
0 commit comments