From 34facc5ce0cb95cc169b5580ac3bfd9b86caedd1 Mon Sep 17 00:00:00 2001 From: Michael Sweet Date: Mon, 30 May 2016 19:41:07 -0400 Subject: [PATCH] Fix compiler warnings. --- filter/raster.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/filter/raster.c b/filter/raster.c index 4b83cc2b8..ba5cb535c 100644 --- a/filter/raster.c +++ b/filter/raster.c @@ -1,7 +1,7 @@ /* * Raster file routines for CUPS. * - * Copyright 2007-2015 by Apple Inc. + * Copyright 2007-2016 by Apple Inc. * Copyright 1997-2006 by Easy Software Products. * * This file is part of the CUPS Imaging library. @@ -680,7 +680,7 @@ cupsRasterReadPixels(cups_raster_t *r, /* I - Raster stream */ } temp += count; - bytes -= count; + bytes -= (ssize_t)count; } else { @@ -695,7 +695,7 @@ cupsRasterReadPixels(cups_raster_t *r, /* I - Raster stream */ if (count < r->bpp) break; - bytes -= count; + bytes -= (ssize_t)count; if (!cups_raster_read(r, temp, r->bpp)) { -- 2.39.5