summaryrefslogtreecommitdiff
path: root/src/CvtStdSel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/CvtStdSel.c')
-rw-r--r--src/CvtStdSel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CvtStdSel.c b/src/CvtStdSel.c
index 439ab7a..ac370b4 100644
--- a/src/CvtStdSel.c
+++ b/src/CvtStdSel.c
@@ -179,7 +179,7 @@ XmuConvertStandardSelection(Widget w, Time time, Atom *selection, Atom *target,
*(long*)*value = time;
else {
long temp = time;
- (void) memmove((char*)*value, ((char*)&temp)+sizeof(long)-4, 4);
+ memcpy((char*)*value, ((char*)&temp)+sizeof(long)-4, 4);
}
*type = XA_INTEGER;
*length = 1;