mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(GLUI) Silence warnings
This commit is contained in:
parent
994c2d6db5
commit
46055eb47b
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include "shared.h"
|
#include "shared.h"
|
||||||
|
|
||||||
int line_height, glyph_width, glui_margin, glui_term_width, glui_term_height;
|
unsigned line_height, glyph_width, glui_margin, glui_term_width, glui_term_height;
|
||||||
GLuint glui_bg = 0;
|
GLuint glui_bg = 0;
|
||||||
char box_message[PATH_MAX];
|
char box_message[PATH_MAX];
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ static void glui_render_messagebox(const char *message)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int i;
|
unsigned i;
|
||||||
int x = gl->win_width / 2 - strlen(list->elems[0].data) * glyph_width / 2;
|
int x = gl->win_width / 2 - strlen(list->elems[0].data) * glyph_width / 2;
|
||||||
int y = gl->win_height / 2 - list->size * line_height / 2;
|
int y = gl->win_height / 2 - list->size * line_height / 2;
|
||||||
for (i = 0; i < list->size; i++)
|
for (i = 0; i < list->size; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user