summaryrefslogtreecommitdiff
path: root/src/Fl_PNM_Image.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-14 12:29:51 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-14 12:29:51 +0000
commit217f77c9ef015684b08f77b2d129155c76414f9e (patch)
tree50e3e4576a1dfd8e13fb4692f75536df4ed48126 /src/Fl_PNM_Image.cxx
parent8dda432b40163541d13f9f6cd520b5efbd82e0da (diff)
Eliminate compiler warnings on Solaris...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_PNM_Image.cxx')
-rw-r--r--src/Fl_PNM_Image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_PNM_Image.cxx b/src/Fl_PNM_Image.cxx
index 09c4fc93e..866c16aea 100644
--- a/src/Fl_PNM_Image.cxx
+++ b/src/Fl_PNM_Image.cxx
@@ -83,7 +83,7 @@ Fl_PNM_Image::Fl_PNM_Image(const char *name) // I - File to read
format = atoi(lineptr);
while (isdigit(*lineptr)) lineptr ++;
- if (format == 7) lineptr = "";
+ if (format == 7) lineptr = (char *)"";
while (lineptr != NULL && w() == 0) {
if (*lineptr == '\0' || *lineptr == '#') {