1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Fix two more warnings

This commit is contained in:
Gymnasiast
2015-09-11 15:23:11 +02:00
parent 6bd003c67f
commit 68fc066fc5
2 changed files with 4 additions and 4 deletions

View File

@@ -299,7 +299,7 @@ int screenshot_dump_png()
}
free(png);
if (pixels != dpi->bits) {
if ((utf8*)pixels != (utf8*)dpi->bits) {
free(pixels);
}
return index;
@@ -567,4 +567,4 @@ int cmdline_for_screenshot(const char **argv, int argc)
}
openrct2_dispose();
return 1;
}
}