Some more CXX_BUILD fixes

This commit is contained in:
twinaphex 2015-06-25 17:36:31 +02:00
parent 41b6f622c4
commit 1b34dd4ce0
3 changed files with 4 additions and 3 deletions

View File

@ -542,7 +542,7 @@ static int wiimote_handshake(struct wiimote_t* wm,
continue;
case 4:
{
int id;
uint32_t id;
int32_t *ptr = (int32_t*)data;
if (event != WM_RPT_READ)

View File

@ -495,7 +495,8 @@ static int action_iterate_main(const char *label, unsigned action)
static bool did_messagebox = false;
char msg[PATH_MAX_LENGTH] = {0};
enum action_iterate_type iterate_type;
size_t selected, *pop_selected = false;
size_t selected;
size_t *pop_selected = NULL;
bool do_messagebox = false;
bool do_pop_stack = false;
bool do_post_iterate = false;

View File

@ -650,7 +650,7 @@ static void rgui_free(void *data)
if (disp->font.alloc_framebuf)
free((uint8_t*)disp->font.framebuf);
disp->font.alloc_framebuf = NULL;
disp->font.alloc_framebuf = false;
}
static void rgui_set_texture(void)