lua-users home
lua-l archive

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


> > Or maybe this?
> >
> > +   if ((unsigned int)i == (0 - (unsigned int)i))
> 
>   if (i == 0U - i)

ltable.c: In function ‘hashnum’:
ltable.c:91: warning: comparison between signed and unsigned integer expressions

Each compiler has its own mind about what is suspicious :(

-- Roberto