[gegl] operations/common/grey: Use memmove, in case we're processing in-place
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations/common/grey: Use memmove, in case we're processing in-place
- Date: Thu, 2 Feb 2017 18:47:34 +0000 (UTC)
commit d20441868d1022d2da95ec7710fb28c59819d11e
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Feb 1 23:20:55 2017 +0100
operations/common/grey: Use memmove, in case we're processing in-place
https://bugzilla.gnome.org/show_bug.cgi?id=777775
operations/common/grey.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/grey.c b/operations/common/grey.c
index 5b1282e..ee7d8b2 100644
--- a/operations/common/grey.c
+++ b/operations/common/grey.c
@@ -51,7 +51,7 @@ process (GeglOperation *op,
const GeglRectangle *roi,
gint level)
{
- memcpy (out_buf, in_buf, sizeof (gfloat) * 2 * samples);
+ memmove (out_buf, in_buf, sizeof (gfloat) * 2 * samples);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]