diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-04-25 14:15:43 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-04-26 14:42:52 +0100 |
commit | bfd1effe99d5038577cdc0be889e5424613f3c08 (patch) | |
tree | 0189d41857f58ace1aa818ab3d76386cc63e7982 /fitz/fitz-internal.h | |
parent | 772524c3776ab6b2dbb677acb84127030b9f49d2 (diff) | |
download | mupdf-bfd1effe99d5038577cdc0be889e5424613f3c08.tar.xz |
Squash 2 const warnings.
Add some more consts's and use void *'s where appropriate.
Diffstat (limited to 'fitz/fitz-internal.h')
-rw-r--r-- | fitz/fitz-internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index 60407b88..7193301a 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -656,7 +656,7 @@ void fz_trim_buffer(fz_context *ctx, fz_buffer *buf); */ void fz_buffer_cat(fz_context *ctx, fz_buffer *buf, fz_buffer *extra); -void fz_write_buffer(fz_context *ctx, fz_buffer *buf, unsigned char *data, int len); +void fz_write_buffer(fz_context *ctx, fz_buffer *buf, const void *data, int len); void fz_write_buffer_byte(fz_context *ctx, fz_buffer *buf, int val); @@ -1454,8 +1454,8 @@ int fz_is_rect_gel(fz_gel *gel); void fz_scan_convert(fz_gel *gel, int eofill, const fz_irect *clip, fz_pixmap *pix, unsigned char *colorbv); void fz_flatten_fill_path(fz_gel *gel, fz_path *path, const fz_matrix *ctm, float flatness); -void fz_flatten_stroke_path(fz_gel *gel, fz_path *path, fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); -void fz_flatten_dash_path(fz_gel *gel, fz_path *path, fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); +void fz_flatten_stroke_path(fz_gel *gel, fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); +void fz_flatten_dash_path(fz_gel *gel, fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); fz_irect *fz_bound_path_accurate(fz_context *ctx, fz_irect *bbox, const fz_irect *scissor, fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); |