Update path for argument.

This commit is contained in:
Tobias Decking 2023-02-21 23:36:47 +01:00 committed by GitHub
parent 990596fa28
commit 44d34e87fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,7 +174,7 @@ pub unsafe fn compare_bytes(a: *const u8, b: *const u8, n: usize) -> i32 {
}
#[inline(always)]
pub unsafe fn c_string_length(s: *const std::ffi::c_char) -> usize {
pub unsafe fn c_string_length(s: *const core::ffi::c_char) -> usize {
let mut n: usize;
asm!(