diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2015-10-22 21:17:47 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2015-10-25 00:36:24 +0200 |
commit | d0514ba8064513864469906b19d1c055e6c3b481 (patch) | |
tree | 9ebd80e948650b21e0432b87bdb4ac3fa94f2f93 /gui/gui.cpp | |
parent | fix build in Omni 4.4 (diff) | |
download | android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.gz android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.bz2 android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.lz android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.xz android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.zst android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.zip |
Diffstat (limited to 'gui/gui.cpp')
-rw-r--r-- | gui/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp index ebd70534c..a5ac33e86 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -796,7 +796,7 @@ extern "C" int gui_init(void) printf("Unable to locate '%s'\nDid you set a TW_THEME in your config files?\n", curtain_path.c_str()); return -1; } - if (gr_get_width(source_Surface) != gr_fb_width() || gr_get_height(source_Surface) != gr_fb_height()) { + if (gr_get_width(source_Surface) != (unsigned)gr_fb_width() || gr_get_height(source_Surface) != (unsigned)gr_fb_height()) { // We need to scale the curtain to fit the screen float scale_w = (float)gr_fb_width() / (float)gr_get_width(source_Surface); float scale_h = (float)gr_fb_height() / (float)gr_get_height(source_Surface); @@ -946,7 +946,7 @@ extern "C" int gui_startPage(const char *page_name, const int allow_commands, in return runPages(page_name, stop_on_page_done); } -static void * console_thread(void *cookie) +static void * console_thread(void *cookie __unused) { PageManager::SwitchToConsole(); |