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_jpeg_image.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/c_fl_jpeg_image.h') diff --git a/src/c_fl_jpeg_image.h b/src/c_fl_jpeg_image.h index 4fef486..013ae37 100644 --- a/src/c_fl_jpeg_image.h +++ b/src/c_fl_jpeg_image.h @@ -8,17 +8,14 @@ #define FL_JPEG_IMAGE_GUARD +typedef void* JPEGIMAGE; -typedef void* JPEG_IMAGE; - - - - -extern "C" JPEG_IMAGE new_fl_jpeg_image(const char * f); -extern "C" JPEG_IMAGE new_fl_jpeg_image2(const char * n, void *data); -extern "C" void free_fl_jpeg_image(JPEG_IMAGE j); +extern "C" JPEGIMAGE new_fl_jpeg_image(const char * f); +extern "C" JPEGIMAGE new_fl_jpeg_image2(const char * n, void *data); +extern "C" void free_fl_jpeg_image(JPEGIMAGE j); #endif + -- cgit