summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/Fl_Type.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx
index b8b463e81..9b4d88a1c 100644
--- a/fluid/Fl_Type.cxx
+++ b/fluid/Fl_Type.cxx
@@ -594,9 +594,9 @@ int storestring(const char *n, const char * & p, int nostrip) {
undo_checkpoint();
int length = 0;
if (n) { // see if blank, strip leading & trailing blanks
- if (!nostrip) while (isspace(*n)) n++;
+ if (!nostrip) while (isspace((int) *n)) n++;
const char *e = n + strlen(n);
- if (!nostrip) while (e > n && isspace(*(e-1))) e--;
+ if (!nostrip) while (e > n && isspace((int)*(e-1))) e--;
length = e-n;
if (!length) n = 0;
}