Skip to content

Commit

Permalink
Update zx_time_t to an i64
Browse files Browse the repository at this point in the history
  • Loading branch information
tmandry committed Aug 30, 2019
1 parent c43d03a commit 5da1123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libstd/sys/unix/process/zircon.rs
Expand Up @@ -3,7 +3,7 @@
use crate::convert::TryInto;
use crate::io;
use crate::os::raw::c_char;
use crate::u64;
use crate::i64;

use libc::{c_int, c_void, size_t};

Expand All @@ -14,8 +14,8 @@ pub type zx_status_t = i32;

pub const ZX_HANDLE_INVALID: zx_handle_t = 0;

pub type zx_time_t = u64;
pub const ZX_TIME_INFINITE : zx_time_t = u64::MAX;
pub type zx_time_t = i64;
pub const ZX_TIME_INFINITE : zx_time_t = i64::MAX;

pub type zx_signals_t = u32;

Expand Down

0 comments on commit 5da1123

Please sign in to comment.