mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +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);
|
uvsprintf(buf, format, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
allegro_message(buf);
|
allegro_message("%s", buf);
|
||||||
}
|
}
|
||||||
|
@ -72,7 +72,7 @@ int vaca_main()
|
|||||||
e.show();
|
e.show();
|
||||||
}
|
}
|
||||||
catch (std::exception& e) {
|
catch (std::exception& e) {
|
||||||
allegro_message(e.what());
|
allegro_message("%s", e.what());
|
||||||
}
|
}
|
||||||
#ifndef DEBUGMODE
|
#ifndef DEBUGMODE
|
||||||
catch (...) {
|
catch (...) {
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <allegro.h>
|
#include <allegro.h>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
#include "resource_finder.h"
|
#include "resource_finder.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user