changeset 110174:873c8f137ae3

* image.c (imagemagick_image_p): Replace bcopy by memcpy.
author Andreas Schwab <schwab@linux-m68k.org>
date Sat, 04 Sep 2010 10:23:09 +0200
parents f6c3d41e8113
children 6488e31d7e94
files src/ChangeLog src/image.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Sep 04 10:30:14 2010 +0300
+++ b/src/ChangeLog	Sat Sep 04 10:23:09 2010 +0200
@@ -1,3 +1,7 @@
+2010-09-04  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* image.c (imagemagick_image_p): Replace bcopy by memcpy.
+
 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xterm.h (struct dpyinfo): Remove cut_buffers_initialized.
--- a/src/image.c	Sat Sep 04 10:30:14 2010 +0300
+++ b/src/image.c	Sat Sep 04 10:23:09 2010 +0200
@@ -7413,7 +7413,7 @@
 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;