Skip to content

Commit 6deb983

Browse files
committed
dynload: use c_char instead of i8 for dlopen argument
Signed-off-by: Bo YU <yubo@iscas.ac.cn>
1 parent 003ece2 commit 6deb983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gccjit_sys/src/dynload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mod platform {
88

99
#[link(name="dl")]
1010
extern "C" {
11-
fn dlopen(filename: *const i8, flag: c_int) -> *mut c_void;
11+
fn dlopen(filename: *const c_char, flag: c_int) -> *mut c_void;
1212
fn dlsym(handle: *mut c_void, symbol: *const i8) -> *mut c_void;
1313
fn dlclose(handle: *mut c_void) -> c_int;
1414
fn dlerror() -> *const c_char;

0 commit comments

Comments
 (0)