summaryrefslogtreecommitdiff
path: root/pngerror.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2012-08-10 17:27:42 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2012-08-10 17:27:42 -0500
commitdbb7e19fda9b148c7bed4e830c5697993a97598f (patch)
tree015d9294fa24fa5056d718143f6221201fe45d33 /pngerror.c
parente2098ba08585cfff27374bc26b94dddfd357fb5f (diff)
downloadlibpng-dbb7e19fda9b148c7bed4e830c5697993a97598f.tar.gz
[libpng16] Consistently use memset(), memcpy(), and memcmp() instead of the
png_memset(), png_memcpy(), and png_memcmp() macros.
Diffstat (limited to 'pngerror.c')
-rw-r--r--pngerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pngerror.c b/pngerror.c
index bfd8da09f..c22a2515b 100644
--- a/pngerror.c
+++ b/pngerror.c
@@ -517,7 +517,7 @@ png_fixed_error,(png_const_structrp png_ptr, png_const_charp name),PNG_NORETURN)
# define fixed_message_ln ((sizeof fixed_message)-1)
int iin;
char msg[fixed_message_ln+PNG_MAX_ERROR_TEXT];
- png_memcpy(msg, fixed_message, fixed_message_ln);
+ memcpy(msg, fixed_message, fixed_message_ln);
iin = 0;
if (name != NULL) while (iin < (PNG_MAX_ERROR_TEXT-1) && name[iin] != 0)
{