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:
parent
4e6be0bc64
commit
d247f3dd69
@ -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) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user