summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--src/Fl_JPEG_Image.cxx6
2 files changed, 5 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index f95806389..e1a81b0d4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692)
+ - Fixed a VC++ compiler error in Fl_JPEG_Image.cxx (STR
+ #676)
- FL_SHADOW_BOX/FRAME drew outside of the bounding box
(STR #694)
- Fl_Widget::copy_label(NULL) didn't work (STR #707)
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$".
//