diff options
author | Michael Sweet <michael.r.sweet@gmail.com> | 2016-05-30 19:41:07 -0400 |
---|---|---|
committer | Michael Sweet <michael.r.sweet@gmail.com> | 2016-05-30 19:41:07 -0400 |
commit | 34facc5ce0cb95cc169b5580ac3bfd9b86caedd1 (patch) | |
tree | 13f4259841afae86886dcbe44c04fa9e7b9f6c94 /filter | |
parent | 29cb7da9b95362e401549884b1eff50df871d522 (diff) |
Fix compiler warnings.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/raster.c | 6 |
1 files 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)) { |