From dbf6f4db24aee7315b2782a87e127367887e2036 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 16 Jan 2025 14:21:05 +1300 Subject: Changed reinterpret_cast to static_cast where applicable --- src/c_fl_png_image.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/c_fl_png_image.h') diff --git a/src/c_fl_png_image.h b/src/c_fl_png_image.h index 78dd203..83344e0 100644 --- a/src/c_fl_png_image.h +++ b/src/c_fl_png_image.h @@ -8,17 +8,14 @@ #define FL_PNG_IMAGE_GUARD +typedef void* PNGIMAGE; -typedef void* PNG_IMAGE; - - - - -extern "C" PNG_IMAGE new_fl_png_image(const char * f); -extern "C" PNG_IMAGE new_fl_png_image2(const char *name, void *data, int size); -extern "C" void free_fl_png_image(PNG_IMAGE p); +extern "C" PNGIMAGE new_fl_png_image(const char * f); +extern "C" PNGIMAGE new_fl_png_image2(const char *name, void *data, int size); +extern "C" void free_fl_png_image(PNGIMAGE p); #endif + -- cgit