Skip to content

Commit 3784f65

Browse files
committed
Fix warning with CLANG
1 parent eb40cff commit 3784f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m-variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#define VARIANTI_CONTRACT(name, my) do { \
5252
assert(my != NULL); \
5353
assert(my->type >= M_C(name, _EMPTY)); \
54-
assert(my->type <= M_ASSIGN_CAST(enum M_C(name, _enum), M_C(name, _MAX_TYPE))); \
54+
assert(my->type <= (enum M_C(name, _enum)) M_C(name, _MAX_TYPE)); \
5555
} while (0)
5656

5757
/* Inject the oplist within the list of arguments */

0 commit comments

Comments
 (0)