From 5ba4231b9dadc84e8e706a28c8a0eff136ddb3ad Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 20 Feb 2022 03:29:41 -0800 Subject: [PATCH] Fix silly wrong pointer in apng.c --- src/apng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apng.c b/src/apng.c index 0abbe541d..a5f2485d7 100644 --- a/src/apng.c +++ b/src/apng.c @@ -1,5 +1,5 @@ /* -Copyright 2019-2020, James R. +Copyright 2019-2022, James R. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -116,7 +116,7 @@ apng_default_flush (png_structp pngp) if (!( pngp )) return; - fflush((png_FILE_p)png_get_io_ptr); + fflush((png_FILE_p)png_get_io_ptr(pngp)); } #endif/* PNG_STDIO_SUPPORTED */ #endif/* PNG_WRITE_FLUSH_SUPPORTED */