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
This commit is contained in:
parent
de9bea20b5
commit
cb73c93258
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
|||||||
CHANGES IN FLTK 1.1.7
|
CHANGES IN FLTK 1.1.7
|
||||||
|
|
||||||
- Documentation fixes (STR #648, STR #692)
|
- 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
|
- FL_SHADOW_BOX/FRAME drew outside of the bounding box
|
||||||
(STR #694)
|
(STR #694)
|
||||||
- Fl_Widget::copy_label(NULL) didn't work (STR #707)
|
- Fl_Widget::copy_label(NULL) didn't work (STR #707)
|
||||||
|
@ -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.
|
// Fl_JPEG_Image routines.
|
||||||
//
|
//
|
||||||
@ -134,7 +134,7 @@ Fl_JPEG_Image::Fl_JPEG_Image(const char *jpeg) // I - File to load
|
|||||||
h(0);
|
h(0);
|
||||||
d(0);
|
d(0);
|
||||||
|
|
||||||
delete[] array;
|
delete[] (uchar *)array;
|
||||||
array = 0;
|
array = 0;
|
||||||
alloc_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$".
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user