From dbfe4532cba587de47d8c20348a2c01d7b801dad Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 4 Sep 2010 10:23:09 +0200 Subject: [PATCH] * image.c (imagemagick_image_p): Replace bcopy by memcpy. --- src/ChangeLog | 4 ++++ src/image.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index c70db2ad69a..ce5e139f49c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-09-04 Andreas Schwab + + * image.c (imagemagick_image_p): Replace bcopy by memcpy. + 2010-09-02 Jan Djärv * xterm.h (struct dpyinfo): Remove cut_buffers_initialized. diff --git a/src/image.c b/src/image.c index ae4bf2fd937..e6e1605b024 100644 --- a/src/image.c +++ b/src/image.c @@ -7413,7 +7413,7 @@ static int imagemagick_image_p (Lisp_Object object) { struct image_keyword fmt[IMAGEMAGICK_LAST]; - bcopy (imagemagick_format, fmt, sizeof fmt); + memcpy (fmt, imagemagick_format, sizeof fmt); if (!parse_image_spec (object, fmt, IMAGEMAGICK_LAST, Qimagemagick)) return 0; -- 2.39.2