From e2119d7da1e2ba12b10118073366a69d3437ece9 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 23 Oct 2017 04:50:32 -0400 Subject: mq_tab_page_get_label(): Cast return value Fixes: CC src/marquee-tab-page.o src/tab-page.c: In function ‘mq_tab_page_get_label’: src/tab-page.c:244:2: warning: return from incompatible pointer type return tab_page->label; ^ --- diff --git a/src/tab-page.c b/src/tab-page.c index 1b197a0..62d9dfb 100644 --- a/src/tab-page.c +++ b/src/tab-page.c @@ -241,7 +241,7 @@ mq_tab_page_get_window(MqTabPage *tab_page) MqTabLabel * mq_tab_page_get_label(MqTabPage *tab_page) { - return tab_page->label; + return MQ_TAB_LABEL(tab_page->label); } void -- cgit v0.9.1