summaryrefslogtreecommitdiff
path: root/doc/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/example.c')
-rw-r--r--doc/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/example.c b/doc/example.c
index ef2c658f..d1e4798f 100644
--- a/doc/example.c
+++ b/doc/example.c
@@ -50,7 +50,7 @@ render(char *filename, int pagenumber, int zoom, int rotation)
// space has the origin at the top left corner and the x axis
// extends to the right and the y axis extends down.
- fz_bbox bbox = fz_round_rect(bounds);
+ fz_irect bbox = fz_round_rect(bounds);
fz_pixmap *pix = fz_new_pixmap_with_bbox(ctx, fz_device_rgb, bbox);
fz_clear_pixmap_with_value(ctx, pix, 0xff);