summaryrefslogtreecommitdiff
path: root/fofi/FoFiTrueType.cc
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-09-23 01:15:23 +0200
committerAlbert Astals Cid <aacid@kde.org>2018-09-23 01:15:23 +0200
commitbddcc771de9e7d0a7a077732f15a958a44794f94 (patch)
tree5547300236bfa40af8b21c32fad52909704c3d2f /fofi/FoFiTrueType.cc
parent367a0c6ec6b25b706b9cf181d69abd5f32ffbcea (diff)
FoFiTrueType: Some more const
Diffstat (limited to 'fofi/FoFiTrueType.cc')
-rw-r--r--fofi/FoFiTrueType.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fofi/FoFiTrueType.cc b/fofi/FoFiTrueType.cc
index 1fa860d5..0501615f 100644
--- a/fofi/FoFiTrueType.cc
+++ b/fofi/FoFiTrueType.cc
@@ -1258,7 +1258,7 @@ void FoFiTrueType::cvtSfnts(FoFiOutputFunc outputFunc,
}
}
-void FoFiTrueType::dumpString(Guchar *s, int length,
+void FoFiTrueType::dumpString(const Guchar *s, int length,
FoFiOutputFunc outputFunc,
void *outputStream) {
GooString *buf;
@@ -1287,7 +1287,7 @@ void FoFiTrueType::dumpString(Guchar *s, int length,
(*outputFunc)(outputStream, "00>\n", 4);
}
-Guint FoFiTrueType::computeTableChecksum(Guchar *data, int length) {
+Guint FoFiTrueType::computeTableChecksum(const Guchar *data, int length) {
Guint checksum, word;
int i;