summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-02-06 01:52:15 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-02-06 01:52:15 +0000
commitcb73c932582c359fb7e7dfd06ece0ba7990b0781 (patch)
tree93b22d66e1ea3cff5c9241f1b0d3be4cd18f4096 /src
parentde9bea20b5afe66b2df2965cd5e48aae0a757353 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_JPEG_Image.cxx6
1 files changed, 3 insertions, 3 deletions
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$".
//