Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ struct JSContext {
JSValue global_obj; /* global object */
JSValue global_var_obj; /* contains the global let/const definitions */

uint64_t time_origin;
double time_origin;

uint64_t random_state;
bf_context_t *bf_ctx; /* points to rt->bf_ctx, shared by all contexts */
Expand Down Expand Up @@ -51884,7 +51884,7 @@ void JS_AddIntrinsicTypedArrays(JSContext *ctx)

/* Performance */

static uint64_t js__now_ms(void)
static double js__now_ms(void)
{
return js__hrtime_ns() / 1e6;
}
Expand Down