diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-10-02 17:08:46 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2016-10-02 17:08:46 -0500 |
commit | 3875d9af4c7c87be36dd6c56e7081cd3a2d4b94f (patch) | |
tree | a279417e7d301fb1304041f71d08d4f48ac1e815 /pngerror.c | |
parent | ad3318ddc89e83606144f5dbe02337a9108495a7 (diff) |
[libpng16] Quieted 45 (out of 86 remaining) -Wconversion compiler warnings
Diffstat (limited to 'pngerror.c')
-rw-r--r-- | pngerror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pngerror.c b/pngerror.c index f13b76443..84190ddef 100644 --- a/pngerror.c +++ b/pngerror.c @@ -1,7 +1,7 @@ /* pngerror.c - stub functions for i/o and memory allocation * - * Last changed in libpng 1.6.24 [August 4, 2016] + * Last changed in libpng 1.6.26 [(PENDING RELEASE)] * Copyright (c) 1998-2002,2004,2006-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.) @@ -573,7 +573,7 @@ png_fixed_error,(png_const_structrp png_ptr, png_const_charp name),PNG_NORETURN) { # define fixed_message "fixed point overflow in " # define fixed_message_ln ((sizeof fixed_message)-1) - int iin; + unsigned int iin; char msg[fixed_message_ln+PNG_MAX_ERROR_TEXT]; memcpy(msg, fixed_message, fixed_message_ln); iin = 0; |