Skip to content

Commit 1fdf932

Browse files
authored
Update path for argument.
1 parent 7711331 commit 1fdf932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mem/x86_64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pub unsafe fn compare_bytes(a: *const u8, b: *const u8, n: usize) -> i32 {
174174
}
175175

176176
#[inline(always)]
177-
pub unsafe fn c_string_length(s: *const std::ffi::c_char) -> usize {
177+
pub unsafe fn c_string_length(s: *const core::ffi::c_char) -> usize {
178178
let mut n: usize;
179179

180180
asm!(

0 commit comments

Comments
 (0)