Skip to content

Commit

Permalink
Use a double for now too, so we can use it on 32bit machines instead …
Browse files Browse the repository at this point in the history
…of just 64
  • Loading branch information
pquerna committed Jun 11, 2012
1 parent 3c95ef6 commit 42616e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/luv_misc.c
Expand Up @@ -228,8 +228,8 @@ int luv_update_time(lua_State* L) {
}

int luv_now(lua_State* L) {
int64_t now = uv_now(luv_get_loop(L));
lua_pushinteger(L, now);
double now = (double)uv_now(luv_get_loop(L));
lua_pushnumber(L, now);
return 1;
}

Expand Down

0 comments on commit 42616e1

Please sign in to comment.