We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae80db1 commit 3a73d75Copy full SHA for 3a73d75
src/utils.rs
@@ -77,7 +77,7 @@ mod check_err_tests {
77
78
/// libc::epoll_ctl wrapper
79
pub fn pthread_self() -> Result<u64> {
80
- let thread_id = check_err(unsafe { libc::pthread_self() })?;
+ let thread_id = check_err(unsafe { libc::pthread_self() })? as u64;
81
Ok(thread_id)
82
}
83
0 commit comments