set ints to 0 instead of NULL

This commit is contained in:
Brad Parker 2017-01-17 18:44:29 -05:00
parent a220815b40
commit 8cdfa75b48
3 changed files with 3 additions and 3 deletions

View File

@ -809,7 +809,7 @@ static void mui_render_menu_list(mui_handle_t *mui,
float sum = 0; float sum = 0;
unsigned header_height = 0; unsigned header_height = 0;
size_t i = 0; size_t i = 0;
uint64_t frame_count = NULL; uint64_t frame_count = 0;
file_list_t *list = NULL; file_list_t *list = NULL;
frame_count = video_driver_get_frame_count(); frame_count = video_driver_get_frame_count();

View File

@ -394,7 +394,7 @@ static void rgui_render(void *data)
char title_msg[64]; char title_msg[64];
char msg[255]; char msg[255];
bool msg_force = false; bool msg_force = false;
uint64_t frame_count = NULL; uint64_t frame_count = 0;
settings_t *settings = config_get_ptr(); settings_t *settings = config_get_ptr();
rgui_t *rgui = (rgui_t*)data; rgui_t *rgui = (rgui_t*)data;

View File

@ -2073,7 +2073,7 @@ static void xmb_draw_items(
size_t i; size_t i;
math_matrix_4x4 mymat; math_matrix_4x4 mymat;
menu_display_ctx_rotate_draw_t rotate_draw; menu_display_ctx_rotate_draw_t rotate_draw;
uint64_t frame_count = NULL; uint64_t frame_count = 0;
xmb_node_t *core_node = NULL; xmb_node_t *core_node = NULL;
size_t end = 0; size_t end = 0;
frame_count = video_driver_get_frame_count(); frame_count = video_driver_get_frame_count();