diff options
Diffstat (limited to 'include/mupdf/fitz/math.h')
-rw-r--r-- | include/mupdf/fitz/math.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/math.h b/include/mupdf/fitz/math.h index 387f73a4..b2a5cd4a 100644 --- a/include/mupdf/fitz/math.h +++ b/include/mupdf/fitz/math.h @@ -129,7 +129,7 @@ struct fz_rect_s */ static inline fz_point *fz_rect_min(fz_rect *f) { - return (fz_point *)(void *)&f->x0; + return (fz_point *)&f->x0; } /* @@ -137,7 +137,7 @@ static inline fz_point *fz_rect_min(fz_rect *f) */ static inline fz_point *fz_rect_max(fz_rect *f) { - return (fz_point *)(void *)&f->x1; + return (fz_point *)&f->x1; } /* |