Fix tests on nightly (by avoiding UB, even)
This commit is contained in:
1 parent
27ac97df87
commit
d7ea8af665
1 file changed
+1
-1
@@ -65,7 +65,7 @@ impl FromGlibPtrNone<gpointer> for &RepoCheckoutFilter {
|
||||
///
|
||||
/// # Panics
|
||||
/// If any parameter is a null pointer, the function panics.
|
||||
unsafe extern "C" fn filter_trampoline(
|
||||
unsafe fn filter_trampoline(
|
||||
repo: *mut OstreeRepo,
|
||||
path: *const c_char,
|
||||
stat: *mut libc::stat,
|
||||
|
||||
Reference in new issue
Block a user