projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(postopen) Cast `char' to `unsigned char' before passing to isspace().
[pspp-builds.git]
/
src
/
postscript.c
diff --git
a/src/postscript.c
b/src/postscript.c
index c828a0df2a49136cf73433458384996355516d31..c5bde5e65a4f2aaa30d1f572c61195834aba499a 100644
(file)
--- a/
src/postscript.c
+++ b/
src/postscript.c
@@
-1452,7
+1452,7
@@
postopen (struct file_ext *f)
char *beg;
beg = buf2 = fn_interp_vars (buf, ps_get_var);
len = strlen (buf2);
- while (isspace (*beg))
+ while (isspace (
(unsigned char)
*beg))
beg++, len--;
if (beg[len - 1] == '\n')
len--;