diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-07-16 10:53:15 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-07-16 10:53:15 -0400 |
| commit | e9a03cccf375f11aa4e0a8a3515e499c88d05cde (patch) | |
| tree | 6e6cd2117a7d25684a09a24be9f30ab684b650cc /std/os | |
| parent | 363f4facea7fac2d6cfeab9d1d276ecd8e8e4df0 (diff) | |
| download | zig-e9a03cccf375f11aa4e0a8a3515e499c88d05cde.tar.gz zig-e9a03cccf375f11aa4e0a8a3515e499c88d05cde.zip | |
all integer sizes are available as primitives
* fix wrong implicit cast for `@IntType` bit_count parameter.
* fix incorrect docs for `@IntType` bit_count parameter.
closes #1242
closes #745
closes #1240
Diffstat (limited to 'std/os')
| -rw-r--r-- | std/os/time.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/std/os/time.zig b/std/os/time.zig index 73ba5bba82..795605d7a9 100644 --- a/std/os/time.zig +++ b/std/os/time.zig @@ -25,7 +25,6 @@ pub fn sleep(seconds: usize, nanoseconds: usize) void { } } -const u63 = @IntType(false, 63); pub fn posixSleep(seconds: u63, nanoseconds: u63) void { var req = posix.timespec{ .tv_sec = seconds, |
