Skip to content

Commit b101416

Browse files
committed
clang belives this will always be false without the cast
1 parent 97b0748 commit b101416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-mongoc-log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ test_mongoc_log_trace_disabled (void *context)
174174
mongoc_log_set_handler (log_func, &data);
175175

176176
TRACE("%s", "Conscript reporting!");
177-
ASSERT_CMPINT (data.log_level, ==, -1);
177+
ASSERT_CMPINT (data.log_level, ==, (mongoc_log_level_t)-1);
178178

179179
restore_state (&old_state);
180180
}

0 commit comments

Comments
 (0)