summaryrefslogtreecommitdiff
path: root/fonttosfnt.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-04-01 12:59:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-04-01 12:59:33 -0700
commit11fa7c2d7c5c668ea921f1dbc6b70e97e3535afe (patch)
tree76ae750665beb194711b9d25f20b126416081d33 /fonttosfnt.h
parent92b565d9f9829cc0b47d019d336ef664d3f013e2 (diff)
makeBitmap: declare raster parameter const as recommended by cppcheck
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'fonttosfnt.h')
-rw-r--r--fonttosfnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fonttosfnt.h b/fonttosfnt.h
index 53d9587..63852c5 100644
--- a/fonttosfnt.h
+++ b/fonttosfnt.h
@@ -161,7 +161,7 @@ FontPtr makeFont(void);
StrikePtr makeStrike(FontPtr, int, int);
BitmapPtr makeBitmap(StrikePtr, int,
int, int, int, int, int, int,
- unsigned char*, int);
+ const unsigned char*, int);
IndexSubTablePtr makeIndexSubTables(StrikePtr, CmapPtr);
int fontIndex(FontPtr, int);
CmapPtr makeCmap(FontPtr);