diff options
Diffstat (limited to 'apps/mupdfclean.c')
-rw-r--r-- | apps/mupdfclean.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mupdfclean.c b/apps/mupdfclean.c index 264d8edc..6b185668 100644 --- a/apps/mupdfclean.c +++ b/apps/mupdfclean.c @@ -87,8 +87,8 @@ static void retainpages(int argc, char **argv) if (spage > epage) page = spage, spage = epage, epage = page; - spage = CLAMP(spage, 1, pagecount); - epage = CLAMP(epage, 1, pagecount); + spage = fz_clampi(spage, 1, pagecount); + epage = fz_clampi(epage, 1, pagecount); for (page = spage; page <= epage; page++) { |