diff options
author | Haibo Huang <hhb@google.com> | 2019-06-10 11:41:54 -0700 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2019-06-10 14:38:44 -0700 |
commit | 4f55151a4b8cbda0ea61646f437fdf57c54190d9 (patch) | |
tree | 478f3db238be7e08885ac80ac8ef1be9935441bb /pngwio.c | |
parent | 9ef33ccf9b2e957c1f5e228dbab15fbda1744300 (diff) | |
parent | a40189cf881e9f0db80511c382292a5604c3c3d1 (diff) |
Merge tag 'v1.6.37' into HEAD
Test: build
Bug: 134761359
Change-Id: Iee93c2907d93430a8de681f2e987d37f4b3b17bc
Diffstat (limited to 'pngwio.c')
-rw-r--r-- | pngwio.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,10 +1,10 @@ /* pngwio.c - functions for data output * - * Last changed in libpng 1.6.24 [August 4, 2016] - * Copyright (c) 1998-2002,2004,2006-2014,2016 Glenn Randers-Pehrson - * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) - * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) + * Copyright (c) 2018 Cosmin Truta + * Copyright (c) 1998-2002,2004,2006-2014,2016,2018 Glenn Randers-Pehrson + * Copyright (c) 1996-1997 Andreas Dilger + * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. * * This code is released under the libpng license. * For conditions of distribution and use, see the disclaimer @@ -30,7 +30,7 @@ */ void /* PRIVATE */ -png_write_data(png_structrp png_ptr, png_const_bytep data, png_size_t length) +png_write_data(png_structrp png_ptr, png_const_bytep data, size_t length) { /* NOTE: write_data_fn must not change the buffer! */ if (png_ptr->write_data_fn != NULL ) @@ -48,9 +48,9 @@ png_write_data(png_structrp png_ptr, png_const_bytep data, png_size_t length) * than changing the library. */ void PNGCBAPI -png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) +png_default_write_data(png_structp png_ptr, png_bytep data, size_t length) { - png_size_t check; + size_t check; if (png_ptr == NULL) return; |