Skip to content

Commit

Permalink
Correct ASSERT macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelpatel committed Jun 10, 2015
1 parent a5fca9e commit fdd760c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/cosa/Cosa/Trace.hh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ extern uint8_t trace_log_mask;
*/
# define ASSERT(expr) \
do { \
if (UNLIKELY!(expr))) FATAL("assert:" #expr); \
if (UNLIKELY(!(expr))) FATAL("assert:" #expr); \
} while (0)

/**
Expand Down

0 comments on commit fdd760c

Please sign in to comment.