X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=contrib%2Flibtests%2Freadpng.c;h=7528e90bd9421cf96e92e92e864925840f8b93e8;hb=f125affdc66153880ba8dc33d8369e5a0dc9a6a7;hp=3336d4e2180ee264302f3389253c3807c85b4544;hpb=7b7ccdda02217a442f273ef9684706ecdef2acc5;p=platform%2Fupstream%2Flibpng.git diff --git a/contrib/libtests/readpng.c b/contrib/libtests/readpng.c index 3336d4e..7528e90 100644 --- a/contrib/libtests/readpng.c +++ b/contrib/libtests/readpng.c @@ -1,9 +1,8 @@ + /* readpng.c * * Copyright (c) 2013 John Cunningham Bowler * - * Last changed in libpng 1.6.1 [March 28, 2013] - * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer * and license in png.h @@ -60,7 +59,7 @@ read_png(FILE *fp) png_read_info(png_ptr, info_ptr); { - png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); + size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); /* Failure to initialize these is harmless */ row = malloc(rowbytes);