- fix compilation with format security checks.
This commit is contained in:
parent
1e117672bb
commit
c8ecfea6a0
2
README
2
README
@ -17,7 +17,7 @@ Otherwise, you need JACK with MIDI support, gtk+ 2.6 or higher,
|
||||
make(1), gcc and all the standard headers. Untar the file, type
|
||||
'make install' and that's it.
|
||||
If Makefile is not present, you can generate it with:
|
||||
aclocal && autoheader && automake --add-missing && autoconf
|
||||
aclocal && autoheader && automake --add-missing && autoconf && ./configure
|
||||
|
||||
How to use it?
|
||||
--------------
|
||||
|
@ -19,7 +19,7 @@ Otherwise, you need JACK with MIDI support, gtk+ 2.6 or higher,
|
||||
make(1), gcc and all the standard headers. Untar the file, type
|
||||
'make install' and that's it.
|
||||
If Makefile is not present, you can generate it with:
|
||||
aclocal && autoheader && automake --add-missing && autoconf
|
||||
aclocal && autoheader && automake --add-missing && autoconf && ./configure
|
||||
|
||||
## How to use it?
|
||||
|
||||
|
@ -317,7 +317,7 @@ warning_async(gpointer s)
|
||||
{
|
||||
const char *str = (const char *)s;
|
||||
|
||||
g_warning(str);
|
||||
g_warning("%s",str);
|
||||
|
||||
return (FALSE);
|
||||
}
|
||||
@ -1810,8 +1810,8 @@ log_handler(const gchar *log_domain, GLogLevelFlags log_level, const gchar *mess
|
||||
fprintf(stderr, "%s: %s\n", log_domain, message);
|
||||
|
||||
if ((log_level | G_LOG_LEVEL_CRITICAL) == G_LOG_LEVEL_CRITICAL) {
|
||||
dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
|
||||
GTK_BUTTONS_CLOSE, message);
|
||||
dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
|
||||
GTK_BUTTONS_CLOSE, "%s", message);
|
||||
|
||||
gtk_dialog_run(GTK_DIALOG(dialog));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user