diff --git a/liblouisutdml/logging.c b/liblouisutdml/logging.c
index 0958796..f48f35e 100644
--- a/liblouisutdml/logging.c
+++ b/liblouisutdml/logging.c
@@ -60,7 +60,7 @@ void logWidecharBuf(logLevels level, const char *msg, const widechar *wbuf, int
   free(logMsg);
 }
 
-static void defaultLogCallback(int level, const char *message);
+static void defaultLogCallback(logLevels level, const char *message);
 
 static logcallback logCallbackFunction = defaultLogCallback;
 void EXPORT_CALL lbu_registerLogCallback(logcallback callback)
