Fix crashing in MSVC 2019
This commit is contained in:
parent
6c0e06dda8
commit
1b6ab86ab0
@ -1089,7 +1089,7 @@ png_read_destroy(png_structp png_ptr, png_infop info_ptr,
|
||||
free_fn = png_ptr->free_fn;
|
||||
#endif
|
||||
|
||||
png_memset(png_ptr, 0, png_sizeof(png_struct));
|
||||
png_memset((png_voidp)png_ptr, 0, png_sizeof(png_struct));
|
||||
|
||||
png_ptr->error_fn = error_fn;
|
||||
#ifdef PNG_WARNINGS_SUPPORTED
|
||||
|
Loading…
Reference in New Issue
Block a user