diff options
Diffstat (limited to 'src/Resources.c')
-rw-r--r-- | src/Resources.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Resources.c b/src/Resources.c index d8ea4fc..15a78c2 100644 --- a/src/Resources.c +++ b/src/Resources.c @@ -377,7 +377,7 @@ _XtDependencies(XtResourceList *class_resp, /* VAR */ new_res = (XrmResourceList *) __XtMalloc((Cardinal) (new_num_res * sizeof(XrmResourceList))); if (super_num_res > 0) - XtMemmove(new_res, super_res, super_num_res * sizeof(XrmResourceList)); + memcpy(new_res, super_res, super_num_res * sizeof(XrmResourceList)); /* Put pointers to class resource entries into new_res */ new_next = super_num_res; |