lua-users home
lua-l archive

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

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


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.

AltStyle によって変換されたページ (->オリジナル) /