Skip to content

Commit 449852a

Browse files
committed
Merge pull request #179 from bvssvni/fix_arm
Fix ARM
2 parents 543c774 + 0f051f3 commit 449852a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "freetype-rs"
4-
version = "0.4.0"
4+
version = "0.4.1"
55
authors = ["Coeuvre <[email protected]>"]
66
keywords = ["freetype", "font", "glyph"]
77
description = "Bindings for FreeType font library"

src/face.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl<'a> Face<'a> {
7878

7979
pub fn attach_file(&self, filepathname: &str) -> FtResult<()> {
8080
let err = unsafe {
81-
ffi::FT_Attach_File(self.raw, filepathname.as_ptr() as *const i8)
81+
ffi::FT_Attach_File(self.raw, filepathname.as_ptr() as *const _)
8282
};
8383
if err == ffi::FT_Err_Ok {
8484
Ok(())

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![deny(missing_copy_implementations)]
2-
#![deny(raw_pointer_derive)]
32

43
#[macro_use]
54
extern crate bitflags;

0 commit comments

Comments
 (0)