From ccf932be1767b167bcabed50720b2b71322f94e4 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 15 Jan 2009 11:59:07 +0100 Subject: fix warning about signed / unsigned comparison --- src/Postscript.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- cgit v1.2.3