summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-15 11:59:07 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-15 11:59:07 +0100
commitccf932be1767b167bcabed50720b2b71322f94e4 (patch)
tree5ec0b4bf1e0ee38890ad775b03c6a22a92e484c6 /src
parent0e2c667093527ee0658054f6082200f029d4d35f (diff)
fix warning about signed / unsigned comparison
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';