Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/PSOutputDev.cc
diff options
context:
space:
mode:
authorPeter Teichman <teichman@src.gnome.org>1999-10-06 18:14:26 (GMT)
committer Peter Teichman <teichman@src.gnome.org>1999-10-06 18:14:26 (GMT)
commitf93f21be3c03c59d4a1fa955143f645c01df6318 (patch)
tree503b5a9f6c7e486b928c7b31b8ab635d75086d02 /pdf/xpdf/PSOutputDev.cc
parente0bd0a5e28d6ac5fda6835ccfe1cb6eb4963a794 (diff)
Some casting fixes, so gpdf will build with recent gcc
Diffstat (limited to 'pdf/xpdf/PSOutputDev.cc')
-rw-r--r--pdf/xpdf/PSOutputDev.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/xpdf/PSOutputDev.cc b/pdf/xpdf/PSOutputDev.cc
index edff5cd..fa7c13e 100644
--- a/pdf/xpdf/PSOutputDev.cc
+++ b/pdf/xpdf/PSOutputDev.cc
@@ -481,12 +481,12 @@ void PSOutputDev::setupFont(GfxFont *font) {
writePS("/F%d_%d /%s %g\n",
font->getID().num, font->getID().gen, psName, scale);
for (i = 0; i < 256; i += 8) {
- writePS((i == 0) ? "[ " : " ");
+ writePS((i == 0) ? (char *)"[ " : (char *)" ");
for (j = 0; j < 8; ++j) {
charName = font->getCharName(i+j);
- writePS("/%s", charName ? charName : ".notdef");
+ writePS("/%s", charName ? charName : (char *)".notdef");
}
- writePS((i == 256-8) ? "]\n" : "\n");
+ writePS((i == 256-8) ? (char *)"]\n" : (char *)"\n");
}
writePS("pdfMakeFont\n");
}