Fixed gcc integer conversion warning
This commit is contained in:
parent
da07a235ab
commit
b5eb3cd885
@ -15565,7 +15565,7 @@ nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type pan
|
||||
|
||||
/* window movement by dragging */
|
||||
left_mouse_down = in->mouse.buttons[NK_BUTTON_LEFT].down;
|
||||
left_mouse_clicked = in->mouse.buttons[NK_BUTTON_LEFT].clicked;
|
||||
left_mouse_clicked = (int)in->mouse.buttons[NK_BUTTON_LEFT].clicked;
|
||||
left_mouse_click_in_cursor = nk_input_has_mouse_click_down_in_rect(in,
|
||||
NK_BUTTON_LEFT, header, nk_true);
|
||||
if (left_mouse_down && left_mouse_click_in_cursor && !left_mouse_clicked) {
|
||||
|
@ -138,7 +138,7 @@ nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type pan
|
||||
|
||||
/* window movement by dragging */
|
||||
left_mouse_down = in->mouse.buttons[NK_BUTTON_LEFT].down;
|
||||
left_mouse_clicked = in->mouse.buttons[NK_BUTTON_LEFT].clicked;
|
||||
left_mouse_clicked = (int)in->mouse.buttons[NK_BUTTON_LEFT].clicked;
|
||||
left_mouse_click_in_cursor = nk_input_has_mouse_click_down_in_rect(in,
|
||||
NK_BUTTON_LEFT, header, nk_true);
|
||||
if (left_mouse_down && left_mouse_click_in_cursor && !left_mouse_clicked) {
|
||||
|
Loading…
Reference in New Issue
Block a user