Build fix
This commit is contained in:
parent
6fba4a7065
commit
1b2c0a0f21
@ -225,7 +225,7 @@ int _png_write(const char* filename, uint width, uint height, const ubyte* data,
|
|||||||
printf("spng_get_png_buffer() error: %s\n", spng_strerror(ret));
|
printf("spng_get_png_buffer() error: %s\n", spng_strerror(ret));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
files::write_bytes(filename, (const char*)png_buf, png_size);
|
files::write_bytes(filename, (const unsigned char*)png_buf, png_size);
|
||||||
}
|
}
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
spng_ctx_free(ctx);
|
spng_ctx_free(ctx);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user