Skip to content

Commit

Permalink
HRtime is a double, lets put it into luvit as a double
Browse files Browse the repository at this point in the history
  • Loading branch information
pquerna committed Jun 8, 2012
1 parent 52b7010 commit 10deb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luv_misc.c
Expand Up @@ -235,7 +235,7 @@ int luv_now(lua_State* L) {

int luv_hrtime(lua_State* L) {
double now = (double) uv_hrtime() / 1000000.0;
lua_pushinteger(L, now);
lua_pushnumber(L, now);
return 1;
}

Expand Down

0 comments on commit 10deb74

Please sign in to comment.