From cb73c932582c359fb7e7dfd06ece0ba7990b0781 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 6 Feb 2005 01:52:15 +0000 Subject: Fixed a VC++ compiler error in Fl_JPEG_Image.cxx (STR #676) src/Fl_JPEG_Image.cxx: - Cast array to (uchar *) in delete[]. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_JPEG_Image.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_JPEG_Image.cxx') diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx index a2e8284a3..d9c255054 100644 --- a/src/Fl_JPEG_Image.cxx +++ b/src/Fl_JPEG_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_JPEG_Image.cxx,v 1.1.2.12 2005/01/25 20:50:25 easysw Exp $" +// "$Id$" // // Fl_JPEG_Image routines. // @@ -134,7 +134,7 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *jpeg) // I - File to load h(0); d(0); - delete[] array; + delete[] (uchar *)array; array = 0; alloc_array = 0; } @@ -143,5 +143,5 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *jpeg) // I - File to load } // -// End of "$Id: Fl_JPEG_Image.cxx,v 1.1.2.12 2005/01/25 20:50:25 easysw Exp $". +// End of "$Id$". // -- cgit v1.2.3