summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Postscript.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Postscript.cxx b/src/Postscript.cxx
index 158ee51..e4d7bf0 100644
--- a/src/Postscript.cxx
+++ b/src/Postscript.cxx
@@ -317,7 +317,7 @@ void PSWriter::write_string(FILE *out, char *s) {
write_string(out, &(s[1]));
return;
} else {
- for (int i = 0; i < strlen(s); i++) {
+ for (unsigned int i = 0; i < strlen(s); i++) {
if ((glyph = char_to_glyph(&(s[i]))) != NULL) {
char *s1 = strdup(s);
s1[i] = '\0';