Fix typo in assertion message
This commit is contained in:
parent
b2dde370d6
commit
84fa6c7eb0
@ -89,7 +89,7 @@ typedef struct array {
|
|||||||
#define assert(condition) \
|
#define assert(condition) \
|
||||||
do { \
|
do { \
|
||||||
if (!(condition)) \
|
if (!(condition)) \
|
||||||
fatal("Failed assetion in " __FILE__ "(%d): " \
|
fatal("Failed assertion in " __FILE__ "(%d): " \
|
||||||
#condition, __LINE__); \
|
#condition, __LINE__); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user