diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 14:29:14 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 14:31:17 +0100 |
commit | bbc4678dd53e3742b5ce7f96aba03038215bbbc4 (patch) | |
tree | 645502a5ac7388bb3ee873288aad3942216dbf01 /source/fitz/glyph.c | |
parent | 2af96d78c56c9cc81176c732563a5a4338012a0b (diff) | |
download | mupdf-bbc4678dd53e3742b5ce7f96aba03038215bbbc4.tar.xz |
Remove pointless casts from void*.
Extraneous explicit type casts can mask errors, especially if a
function prototype or return value changes in the future.
Diffstat (limited to 'source/fitz/glyph.c')
-rw-r--r-- | source/fitz/glyph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/glyph.c b/source/fitz/glyph.c index 8e514751..180b7421 100644 --- a/source/fitz/glyph.c +++ b/source/fitz/glyph.c @@ -5,7 +5,7 @@ fz_glyph * fz_keep_glyph(fz_context *ctx, fz_glyph *glyph) { - return (fz_glyph *)fz_keep_storable(ctx, &glyph->storable); + return fz_keep_storable(ctx, &glyph->storable); } void |