summaryrefslogtreecommitdiff
path: root/fofi
diff options
context:
space:
mode:
authorhimajin100000 <himajin100000@gmail.com>2019-04-08 21:14:59 +0900
committerhimajin100000 <himajin100000@gmail.com>2019-04-10 23:49:10 +0900
commite1e15db0a4d0a5b051efc9947d5ac79184447b9b (patch)
tree8a53ef88a86dcc9f68d9ab68133c057914756cd3 /fofi
parent1fbbb3e499873e92d775cac9cc285b3c362e5db7 (diff)
avoid more C4310
Diffstat (limited to 'fofi')
-rw-r--r--fofi/FoFiType1C.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/fofi/FoFiType1C.cc b/fofi/FoFiType1C.cc
index 5df096ca..522b86a6 100644
--- a/fofi/FoFiType1C.cc
+++ b/fofi/FoFiType1C.cc
@@ -16,6 +16,7 @@
// Copyright (C) 2009, 2010, 2017, 2018 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2018 Adam Reichold <adam.reichold@t-online.de>
+// Copyright (C) 2019 Tomoyuki Kubota <himajin100000@gmail.com>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
@@ -1205,10 +1206,10 @@ void FoFiType1C::cvtGlyph(int offset, int nBytes, GooString *charBuf,
start = charBuf->getLength();
if (top) {
- charBuf->append((char)73);
- charBuf->append((char)58);
- charBuf->append((char)147);
- charBuf->append((char)134);
+ charBuf->append('\x49'); //73;
+ charBuf->append('\x3A'); //58;
+ charBuf->append('\x93'); //147;
+ charBuf->append('\x86'); //134;
nOps = 0;
nHints = 0;
firstOp = true;