Re: [ANN] Lua 5.3.0 (work2) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work2) now available
- From: Eduardo Tongson <propolice@...>
- Date: 2014年6月19日 23:51:15 +0800
On Thu, Jun 19, 2014 at 10:43 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> 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.