trace: compare against an int value When tracing is disabled, don't let `git_trace__level` return a void, since that can't be compared against.
diff --git a/src/trace.h b/src/trace.h
index 6cf1677..e15118e 100644
--- a/src/trace.h
+++ b/src/trace.h
@@ -56,7 +56,7 @@ GIT_INLINE(void) git_trace__null(
GIT_UNUSED(fmt);
}
-#define git_trace_level() ((void)0)
+#define git_trace_level() ((git_trace_level_t)0)
#define git_trace git_trace__null
#endif