diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-12 15:01:48 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-12 15:01:48 +0000 |
| commit | 48688d493dd8f262da8eeceacc9d03eba85641f0 (patch) | |
| tree | eec0435fdb3f91fced4af9ff4287dc657dd5566b /fluid | |
| parent | 6af4ec1d7c17417c6512613126386daac598105a (diff) | |
Added (unsigned char *) cast for Pixmap strings.
git-svn-id: file:///fltk/svn/fltk/trunk@89 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fluid_Image.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fluid/Fluid_Image.cxx b/fluid/Fluid_Image.cxx index 5c994aa36..c367c5bc4 100644 --- a/fluid/Fluid_Image.cxx +++ b/fluid/Fluid_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fluid_Image.cxx,v 1.2 1998/10/21 16:28:57 mike Exp $" +// "$Id: Fluid_Image.cxx,v 1.3 1998/11/12 15:01:48 mike Exp $" // // Pixmap label support for the Fast Light Tool Kit (FLTK). // @@ -76,6 +76,7 @@ void pixmap_image::write_static() { int l; for (l = 0; p->data[l]; l++) { if (l) write_c(",\n"); + write_c("(unsigned char *)"); write_cstring(p->data[l],linelength[l]); } write_c("\n};\n"); @@ -405,5 +406,5 @@ Fluid_Image *ui_find_image(const char *oldname) { } // -// End of "$Id: Fluid_Image.cxx,v 1.2 1998/10/21 16:28:57 mike Exp $". +// End of "$Id: Fluid_Image.cxx,v 1.3 1998/11/12 15:01:48 mike Exp $". // |
