diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 04:50:32 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 04:50:32 (EDT) |
commit | e2119d7da1e2ba12b10118073366a69d3437ece9 (patch) | |
tree | 70babfc91ce880c082b6c7124607057a2e79a011 /src | |
parent | fa40eacfcfb176a91f777cf8f3c29fd692a7f369 (diff) | |
download | marquee-e2119d7da1e2ba12b10118073366a69d3437ece9.zip marquee-e2119d7da1e2ba12b10118073366a69d3437ece9.tar.gz marquee-e2119d7da1e2ba12b10118073366a69d3437ece9.tar.bz2 |
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;
^
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-page.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |