lua-users home
lua-l archive

[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.