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

Commit

Permalink
Fix deprecated libc integer types
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
AzureMarker committed Jun 6, 2019
1 parent 964a746 commit 32c24b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ftl/memory_model/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub struct FtlQuery {
/// Saved in units of 1/10 milliseconds (1 = 0.1ms, 2 = 0.2ms,
/// 2500 = 250.0ms, etc.)
pub response_time: libc::c_ulong,
pub database_id: libc::int64_t,
pub database_id: i64,
pub time_index: libc::c_uint,
pub is_complete: bool
}
Expand Down

0 comments on commit 32c24b5

Please sign in to comment.