summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Henning <drawoc@darkrefraction.com>2015-04-01 14:02:35 -0400
committerMichael Henning <drawoc@darkrefraction.com>2015-04-01 14:02:35 -0400
commitbeed174b06bd8ab7f94dfa79ceae625bd520431b (patch)
tree4a59cfaddbc2a7499e03e691b6e455d9c9ca16c0 /tests
parent9b14848c4a156b886cf878626313637cb937d26a (diff)
gegl_buffer_linear_open should return a gpointer, not a gpointer*
Diffstat (limited to 'tests')
-rw-r--r--tests/buffer/tests/linear_modify.c2
-rw-r--r--tests/buffer/tests/linear_proxy_modify.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/buffer/tests/linear_modify.c b/tests/buffer/tests/linear_modify.c
index 21f09569..eaba30a4 100644
--- a/tests/buffer/tests/linear_modify.c
+++ b/tests/buffer/tests/linear_modify.c
@@ -14,7 +14,7 @@ TEST ()
gfloat *buf;
gint x, y, i;
- buf = (gpointer)gegl_buffer_linear_open (buffer, &extent, &rowstride, NULL);
+ buf = gegl_buffer_linear_open (buffer, &extent, &rowstride, NULL);
g_assert (buf);
i=0;
diff --git a/tests/buffer/tests/linear_proxy_modify.c b/tests/buffer/tests/linear_proxy_modify.c
index 2b5435a7..d34a8aaa 100644
--- a/tests/buffer/tests/linear_proxy_modify.c
+++ b/tests/buffer/tests/linear_proxy_modify.c
@@ -14,7 +14,7 @@ TEST ()
gfloat *buf;
gint x, y, i;
- buf = (gpointer)gegl_buffer_linear_open (buffer, &extent, &rowstride, NULL);
+ buf = gegl_buffer_linear_open (buffer, &extent, &rowstride, NULL);
g_assert (buf);
i=0;