Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Mar 20, 2024
1 parent 04e3c2b commit cb24a3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/xetex_layout/src/c_api/manager/mac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ impl FontManagerBackend for MacBackend {
true,
buf.as_mut_ptr(),
libc::PATH_MAX as CFIndex,
) != 0
{
) {
path = Cow::Owned(CString::new(buf));
}
CFRelease(url);
Expand Down

0 comments on commit cb24a3f

Please sign in to comment.