mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Build fix
This commit is contained in:
parent
6fba4a7065
commit
1b2c0a0f21
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
else {
|
||||
files::write_bytes(filename, (const char*)png_buf, png_size);
|
||||
files::write_bytes(filename, (const unsigned char*)png_buf, png_size);
|
||||
}
|
||||
fflush(stdout);
|
||||
spng_ctx_free(ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue