Type mismatch AssertInt(x, y, op, er) in api.c

This commit is contained in:
Takashi Kojo 2017-01-24 15:53:47 +09:00 committed by Jacob Barthelmeh
parent 7252a138e0
commit 49816b95e0
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@
} while(0)
#define AssertInt(x, y, op, er) do { \
int _x = x; \
int _y = y; \
int _x = (int)x; \
int _y = (int)y; \
\
Assert(_x op _y, ("%s " #op " %s", #x, #y), ("%d " #er " %d", _x, _y)); \
} while(0)