diff options
author | Cosmin Truta <ctruta@gmail.com> | 2018-06-17 22:37:44 -0400 |
---|---|---|
committer | Cosmin Truta <ctruta@gmail.com> | 2018-06-17 22:37:44 -0400 |
commit | a74aa9a0028a8e746ec5646a3d3ee1c659f0af8a (patch) | |
tree | bd6c99d54c5e07c8c40448598210e2f8218ef13e /example.c | |
parent | 916117d97058b37e7eef2558a71919a8a073a3d3 (diff) | |
download | libpng-a74aa9a0028a8e746ec5646a3d3ee1c659f0af8a.tar.gz |
[libpng16] Replace the remaining uses of png_size_t with size_t
In v1.6.0, size_t became a required type. It should be used
consistently. To maintain backwards compatibility, png_size_t
is still maintained in deprecated form.
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ int check_if_png(char *file_name, FILE **fp) /* Compare the first PNG_BYTES_TO_CHECK bytes of the signature. Return nonzero (true) if they match */ - return(!png_sig_cmp(buf, (png_size_t)0, PNG_BYTES_TO_CHECK)); + return(!png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK)); } /* Read a PNG file. You may want to return an error code if the read |