mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 04:13:50 +00:00
Avoid some compilation warnings and errors with gcc on linux.
This commit is contained in:
parent
f323f41288
commit
712e357ab2
@ -162,5 +162,5 @@ void user_printf(const char *format, ...)
|
||||
uvsprintf(buf, format, ap);
|
||||
va_end(ap);
|
||||
|
||||
allegro_message(buf);
|
||||
allegro_message("%s", buf);
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ int vaca_main()
|
||||
e.show();
|
||||
}
|
||||
catch (std::exception& e) {
|
||||
allegro_message(e.what());
|
||||
allegro_message("%s", e.what());
|
||||
}
|
||||
#ifndef DEBUGMODE
|
||||
catch (...) {
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <allegro.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include "resource_finder.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user