about summary refs log tree commit diff
path: root/other/pamx/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/pamx/send.c')
-rw-r--r--other/pamx/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/pamx/send.c b/other/pamx/send.c
index 5413308b..597b76c7 100644
--- a/other/pamx/send.c
+++ b/other/pamx/send.c
@@ -587,7 +587,7 @@ makeXImage(XImageInfo * const ximageinfoP,
         MALLOCARRAY(data, byteCount);
         if (data == NULL)
             pm_error("Can't allocate space for %u byte image", byteCount);
-        bcopy(imageP->data, data, byteCount);
+        memcpy(data, imageP->data, byteCount);
 
         ximageinfoP->ximageP =
             XCreateImage(disp, visualP, 1, XYBitmap,