diff --git a/src/qli/err.cpp b/src/qli/err.cpp index 206e6392a8..dba3d586bb 100644 --- a/src/qli/err.cpp +++ b/src/qli/err.cpp @@ -280,7 +280,7 @@ void ERRQ_pending(void) **************************************/ if (QLI_error) { - ib_printf("%s\n", QLI_error); + ib_printf("%s\n", (const char*)QLI_error); QLI_error = NULL; } }