summaryrefslogtreecommitdiff
path: root/fofi
diff options
context:
space:
mode:
Diffstat (limited to 'fofi')
-rw-r--r--fofi/FoFiTrueType.cc4
-rw-r--r--fofi/FoFiTrueType.h4
2 files changed, 4 insertions, 4 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;
diff --git a/fofi/FoFiTrueType.h b/fofi/FoFiTrueType.h
index 9ac364f9..02d611d2 100644
--- a/fofi/FoFiTrueType.h
+++ b/fofi/FoFiTrueType.h
@@ -181,10 +181,10 @@ private:
void *outputStream, GooString *name,
GBool needVerticalMetrics,
int *maxUsedGlyph);
- void dumpString(Guchar *s, int length,
+ void dumpString(const Guchar *s, int length,
FoFiOutputFunc outputFunc,
void *outputStream);
- Guint computeTableChecksum(Guchar *data, int length);
+ Guint computeTableChecksum(const Guchar *data, int length);
void parse();
void readPostTable();
int seekTable(const char *tag);