Skip to content

Commit

Permalink
Fix an incompatibility with the logging API of liblouis 3.0.0. Introd…
Browse files Browse the repository at this point in the history
…uced by 46ac724.
  • Loading branch information
dkager committed Jul 18, 2016
1 parent b5e79bc commit 6621946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liblouisutdml/logging.c
Expand Up @@ -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)
Expand Down Expand Up @@ -127,7 +127,7 @@ lbu_logFile (const char *fileName)
}

static void
defaultLogCallback (int level, const char *message)
defaultLogCallback (logLevels level, const char *message)
{
if (message == NULL)
return;
Expand Down

0 comments on commit 6621946

Please sign in to comment.