Compile fixes for mingw32

master
Eduardo Bart 12 years ago
parent dff1564395
commit cb58d2dcfa

@ -917,7 +917,7 @@ void write_IDATs(std::ostream& f, unsigned char* data, unsigned int length, unsi
}
}
void save_png(std::stringstream& f, int width, int height, int channels, unsigned char *pixels)
void save_png(std::stringstream& f, unsigned int width, unsigned int height, int channels, unsigned char *pixels)
{
unsigned int bpp = 4;
unsigned char coltype = 0;

@ -278,7 +278,7 @@ void UIManager::onWidgetDestroy(const UIWidgetPtr& widget)
if(m_checkEvent && !m_checkEvent->isExecuted())
return;
m_checkEvent = g_eventDispatcher.scheduleEvent([] {
m_checkEvent = g_eventDispatcher.scheduleEvent([this] {
g_lua.collectGarbage();
UIWidgetList backupList = m_destroyedWidgets;
m_destroyedWidgets.clear();

Loading…
Cancel
Save