diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2001-04-03 22:43:19 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-04-06 16:06:04 -0500 |
commit | 87c6bc984ad39d41428f5fd469bab75f97e3fee8 (patch) | |
tree | 6fbe912edf75991c5234002390aea068645ecea4 /pngwrite.c | |
parent | 13cfbac075f9f91522421171dced2b6d2d9b523f (diff) | |
download | libpng-87c6bc984ad39d41428f5fd469bab75f97e3fee8.tar.gz |
Imported from libpng-1.0.11beta1.tarv1.0.11beta1
Diffstat (limited to 'pngwrite.c')
-rw-r--r-- | pngwrite.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pngwrite.c b/pngwrite.c index 32a2a968e..659d2c0c2 100644 --- a/pngwrite.c +++ b/pngwrite.c @@ -1,7 +1,7 @@ /* pngwrite.c - general routines to write a PNG file * - * libpng 1.0.10 - March 30, 2001 + * libpng 1.0.11beta1 - April 4, 2001 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2001 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -1138,10 +1138,10 @@ png_set_filter_heuristics(png_structp png_ptr, int heuristic_method, if (png_ptr->filter_weights == NULL) { - png_ptr->filter_weights = (png_uint_16p) png_malloc(png_ptr, + png_ptr->filter_weights = (png_uint_16p)png_malloc(png_ptr, (png_uint_32)(sizeof(png_uint_16) * num_weights)); - png_ptr->inv_filter_weights = (png_uint_16p) png_malloc(png_ptr, + png_ptr->inv_filter_weights = (png_uint_16p)png_malloc(png_ptr, (png_uint_32)(sizeof(png_uint_16) * num_weights)); for (i = 0; i < num_weights; i++) @@ -1173,10 +1173,10 @@ png_set_filter_heuristics(png_structp png_ptr, int heuristic_method, */ if (png_ptr->filter_costs == NULL) { - png_ptr->filter_costs = (png_uint_16p) png_malloc(png_ptr, + png_ptr->filter_costs = (png_uint_16p)png_malloc(png_ptr, (png_uint_32)(sizeof(png_uint_16) * PNG_FILTER_VALUE_LAST)); - png_ptr->inv_filter_costs = (png_uint_16p) png_malloc(png_ptr, + png_ptr->inv_filter_costs = (png_uint_16p)png_malloc(png_ptr, (png_uint_32)(sizeof(png_uint_16) * PNG_FILTER_VALUE_LAST)); for (i = 0; i < PNG_FILTER_VALUE_LAST; i++) |