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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user