[gegl] operations: Fix cast in nop.c
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gegl] operations: Fix cast in nop.c
- Date: Tue, 5 Jan 2010 12:45:06 +0000 (UTC)
commit baf7fe93385c2505124c03a72e83df7486243674
Author: Martin Nordholts <martinn src gnome org>
Date: Tue Jan 5 13:43:08 2010 +0100
operations: Fix cast in nop.c
operations/core/nop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/core/nop.c b/operations/core/nop.c
index f5cf99b..8bb1232 100644
--- a/operations/core/nop.c
+++ b/operations/core/nop.c
@@ -46,7 +46,7 @@ process (GeglOperation *operation,
return FALSE;
}
- input = gegl_operation_context_get_object (context, "input");
+ input = GEGL_BUFFER (gegl_operation_context_get_object (context, "input"));
if (!input)
{
g_warning ("nop received NULL input");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]