[ANN] Lua 5.3.0 (work2) now available

classic Classic list List threaded Threaded
261 messages Options
1 ... 11121314
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.3.0 (work2) now available

Eduardo Tongson
On Thu, Jun 19, 2014 at 10:43 PM, Luiz Henrique de Figueiredo
<[hidden email]> wrote:
>> -  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.
>

Thanks, just realized that. I was actually using the wrong format
string on my output.

Regards.

1 ... 11121314