lua-users home
lua-l archive

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


>From: Alan Watson <alan@astrosmo.unam.mx>
>
lhf> So, there should be no problems, unless sizeof returns int.
>
>I should not be. The type of the integer constant formed by
>the sizeof operator is size_t, and size_t must be an
>unsigned integral type (sections 6.3.3.4 and 7.1.6 of the
>ISO standard).

I meant, unless sizeof(size_t)=2.
--lhf