summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace.h b/src/trace.h
index 6cf16776f..e15118ef5 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