summaryrefslogtreecommitdiff
path: root/desktop/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/tree.c')
-rw-r--r--desktop/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/tree.c b/desktop/tree.c
index ed75604e4..92a25109c 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -181,7 +181,7 @@ struct tree {
static void treeview_test_redraw_request(struct core_window *cw, struct rect r)
{
- struct tree *tree = cw;
+ struct tree *tree = (struct tree *)cw;
tree->callbacks->redraw_request(r.x0, r.y0,
r.x1 - r.x0, r.y1 - r.y0,