1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

Fix warning about parenthesis in operands of ==

This commit is contained in:
Frédéric Thomas 2008-08-05 10:07:08 +00:00
parent 4e6be0bc64
commit d247f3dd69

View File

@ -566,13 +566,13 @@
#define luai_numdiv(a,b) \
(-1/2? \
(a)/(b): \
((a)<0==(b)<0||(a)%(b)==0? \
((((a)<0)==((b)<0))||(((a)%(b))==0)? \
(a)/(b): \
(a)/(b)-1))
#define luai_nummod(a,b) \
(-1/2? \
(a)%(b): \
((a)<0==(b)<0||(a)%(b)==0? \
((((a)<0)==((b)<0))||(((a)%(b))==0)? \
(a)%(b): \
(a)%(b)+(b)))
#define luai_lnumdiv(a,b) \