lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> -  lua_pushnumber(L, difftime((l_checktime(L, 1)), (l_checktime(L, 2))));
> +  lua_pushinteger(L, difftime((l_checktime(L, 1)), (l_checktime(L, 2))));

difftime returns double.