diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-10-05 08:41:45 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-10-05 08:41:45 (EDT) |
commit | c48fe014317e8ad5a0afd05ba016ddad19d08e9a (patch) | |
tree | 34147f68bf2f1ad98acde27b2e2a20b937e3ac7e /src | |
parent | dab4d96f5927fdd6d1676ee3f5e810fc7ae62272 (diff) | |
download | marquee-c48fe014317e8ad5a0afd05ba016ddad19d08e9a.zip marquee-c48fe014317e8ad5a0afd05ba016ddad19d08e9a.tar.gz marquee-c48fe014317e8ad5a0afd05ba016ddad19d08e9a.tar.bz2 |
mq_window_get_notebook(): Cast return value
Fixes:
src/window.c: In function ‘mq_window_get_notebook’:
src/window.c:345:15: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
return window->notebook;
~~~~~~^~~~~~~~~~
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index bdf9870..b1c35d0 100644 --- a/src/window.c +++ b/src/window.c @@ -342,7 +342,7 @@ mq_window_get_application(MqWindow *window) MqNotebook * mq_window_get_notebook(MqWindow *window) { - return window->notebook; + return MQ_NOTEBOOK(window->notebook); } void |