clar: fix warning on Windows
diff --git a/tests-clar/main.c b/tests-clar/main.c
index e9b3b64..0102c91 100644
--- a/tests-clar/main.c
+++ b/tests-clar/main.c
@@ -1,6 +1,11 @@
#include "clar_libgit2.h"
-int main(int argc, char *argv[])
+#ifdef _WIN32
+__cdecl int
+#else
+int
+#endif
+main(int argc, char *argv[])
{
int res;