diff options
author | Albert Astals Cid <aacid@kde.org> | 2011-09-01 13:27:01 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2011-09-01 13:27:01 +0200 |
commit | 52fb80a7b3f98eb8322a7ba84e2900f044b3a18a (patch) | |
tree | 954ecb8b0018c4882fcc88e0b4afb523cb3cdb85 | |
parent | 37ca8dc4215693ec657d165ebdb6c315a0ae92c9 (diff) |
xpdf303: compile++
-rw-r--r-- | poppler/ArthurOutputDev.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poppler/ArthurOutputDev.cc b/poppler/ArthurOutputDev.cc index a1300b5b..5a634681 100644 --- a/poppler/ArthurOutputDev.cc +++ b/poppler/ArthurOutputDev.cc @@ -279,7 +279,7 @@ void ArthurOutputDev::updateFont(GfxState *state) GooString *fileName; char *tmpBuf; int tmpBufLen; - Gushort *codeToGID; + int *codeToGID; DisplayFontParam *dfp; double *textMat; double m11, m12, m21, m22, fontSize; @@ -433,7 +433,7 @@ void ArthurOutputDev::updateFont(GfxState *state) if (((GfxCIDFont *)gfxFont)->getCIDToGID()) { n = ((GfxCIDFont *)gfxFont)->getCIDToGIDLen(); if (n) { - codeToGID = (Gushort *)gmallocn(n, sizeof(Gushort)); + codeToGID = (int *)gmallocn(n, sizeof(int)); memcpy(codeToGID, ((GfxCIDFont *)gfxFont)->getCIDToGID(), n * sizeof(Gushort)); } |