diff --git a/src/tincd.c b/src/tincd.c
index bec16cd3..da3c33fa 100644
--- a/src/tincd.c
+++ b/src/tincd.c
@@ -485,7 +485,7 @@ static bool drop_privs() {
 }
 
 #ifdef HAVE_MINGW
-# define setpriority(level) SetPriorityClass(GetCurrentProcess(), level);
+# define setpriority(level) SetPriorityClass(GetCurrentProcess(), level)
 #else
 # define NORMAL_PRIORITY_CLASS 0
 # define BELOW_NORMAL_PRIORITY_CLASS 10