Skip to content
This repository was archived by the owner on Mar 2, 2020. It is now read-only.

Commit 32c24b5

Browse files
committed
Fix deprecated libc integer types
As of rust-lang/libc#1304 types such as `libc::int64_t` are deprecated. Instead, we should use the native Rust types like `i64`, as they are compatible with the C types. Signed-off-by: Mcat12 <[email protected]>
1 parent 964a746 commit 32c24b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ftl/memory_model/query.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub struct FtlQuery {
4141
/// Saved in units of 1/10 milliseconds (1 = 0.1ms, 2 = 0.2ms,
4242
/// 2500 = 250.0ms, etc.)
4343
pub response_time: libc::c_ulong,
44-
pub database_id: libc::int64_t,
44+
pub database_id: i64,
4545
pub time_index: libc::c_uint,
4646
pub is_complete: bool
4747
}

0 commit comments

Comments
 (0)