summaryrefslogtreecommitdiff
path: root/example.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-08-17 20:46:27 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-08-17 20:46:27 -0500
commita8242fe6fbd0d1de904436c606edc740547b97cc (patch)
treeb3392e7bd4782b2bc9d1fe37d9ce576e29feb0b9 /example.c
parent15e69748f11d4948798f11bb00df9ff7626fde85 (diff)
[libng16] Reverted recent mistaken change of 0xnnnn to 0xnnnnUL
Diffstat (limited to 'example.c')
-rw-r--r--example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example.c b/example.c
index 704ff664b..0a241413b 100644
--- a/example.c
+++ b/example.c
@@ -271,7 +271,7 @@ void read_png(char *file_name) /* We need to open the file */
{
png_structp png_ptr;
png_infop info_ptr;
- unsigned int sig_read = 0;
+ int sig_read = 0;
png_uint_32 width, height;
int bit_depth, color_type, interlace_type;
FILE *fp;
@@ -280,7 +280,7 @@ void read_png(char *file_name) /* We need to open the file */
return (ERROR);
#else no_open_file /* prototype 2 */
-void read_png(FILE *fp, unsigned int sig_read) /* File is already open */
+void read_png(FILE *fp, int sig_read) /* File is already open */
{
png_structp png_ptr;
png_infop info_ptr;