Skip to content

Commit

Permalink
fix: Fix missing cast in process.ts (#2693)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Apr 23, 2023
1 parent b248254 commit 3b2381b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/assembly/process.ts
Expand Up @@ -29,7 +29,7 @@ export namespace process {
}

export function time(): i64 {
return Date_binding.now();
return <i64>Date_binding.now();
}

export function hrtime(): u64 {
Expand Down

0 comments on commit 3b2381b

Please sign in to comment.