mirror of https://github.com/wolfSSL/wolfssl
Type mismatch AssertInt(x, y, op, er) in api.c
This commit is contained in:
parent
7252a138e0
commit
49816b95e0
|
@ -46,8 +46,8 @@
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define AssertInt(x, y, op, er) do { \
|
#define AssertInt(x, y, op, er) do { \
|
||||||
int _x = x; \
|
int _x = (int)x; \
|
||||||
int _y = y; \
|
int _y = (int)y; \
|
||||||
\
|
\
|
||||||
Assert(_x op _y, ("%s " #op " %s", #x, #y), ("%d " #er " %d", _x, _y)); \
|
Assert(_x op _y, ("%s " #op " %s", #x, #y), ("%d " #er " %d", _x, _y)); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
Loading…
Reference in New Issue