summaryrefslogtreecommitdiff
path: root/source/xps/xps-doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/xps/xps-doc.c')
-rw-r--r--source/xps/xps-doc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/xps/xps-doc.c b/source/xps/xps-doc.c
index d81ab5b6..5c91a591 100644
--- a/source/xps/xps-doc.c
+++ b/source/xps/xps-doc.c
@@ -484,7 +484,7 @@ xps_recognize(fz_context *ctx, const char *magic)
fz_document_handler xps_document_handler =
{
- (fz_document_recognize_fn *)&xps_recognize,
- (fz_document_open_fn *)&xps_open_document,
- (fz_document_open_with_stream_fn *)&xps_open_document_with_stream
+ xps_recognize,
+ (fz_document_open_fn *) xps_open_document,
+ (fz_document_open_with_stream_fn *) xps_open_document_with_stream
};