darwin time code: don't cast to int until the end
darwin time code: don't cast to int until the end

See #1648

raulgrell/zig,zig-lang/zig,raulgrell/zig,andrewrk/zig,raulgrell/zig,andrewrk/zig,zig-lang/zig,raulgrell/zig,raulgrell/zig,zig-lang/zig