This commit is contained in:
twinaphex 2019-02-04 23:17:39 +01:00
parent ebce936557
commit 845b30131f
3 changed files with 6 additions and 6 deletions

View File

@ -2959,7 +2959,7 @@ found:
/* Checks for the existence of a headered Lynx file. /* Checks for the existence of a headered Lynx file.
Unheadered files fall back to GENERIC_MD5. */ Unheadered files fall back to GENERIC_MD5. */
if (coro->len <= lynx_header_len || if (coro->len <= (unsigned)lynx_header_len ||
memcmp("LYNX", (void *)coro->data, 5) != 0) memcmp("LYNX", (void *)coro->data, 5) != 0)
{ {
coro->gameid = 0; coro->gameid = 0;

View File

@ -406,7 +406,7 @@ static void gl2_renderchain_check_fbo_dimensions(
unsigned i; unsigned i;
/* Check if we have to recreate our FBO textures. */ /* Check if we have to recreate our FBO textures. */
for (i = 0; i < chain->fbo_pass; i++) for (i = 0; i < (unsigned)chain->fbo_pass; i++)
{ {
struct video_fbo_rect *fbo_rect = &gl->fbo_rect[i]; struct video_fbo_rect *fbo_rect = &gl->fbo_rect[i];
if (fbo_rect) if (fbo_rect)
@ -775,7 +775,7 @@ static bool gl_create_fbo_targets(gl_t *gl, gl2_renderchain_data_t *chain)
glBindTexture(GL_TEXTURE_2D, 0); glBindTexture(GL_TEXTURE_2D, 0);
gl2_gen_fb(chain->fbo_pass, chain->fbo); gl2_gen_fb(chain->fbo_pass, chain->fbo);
for (i = 0; i < chain->fbo_pass; i++) for (i = 0; i < (unsigned)chain->fbo_pass; i++)
{ {
GLenum status; GLenum status;
@ -1000,7 +1000,7 @@ static void gl2_renderchain_recompute_pass_sizes(
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_size); glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_size);
/* Calculate viewports for FBOs. */ /* Calculate viewports for FBOs. */
for (i = 0; i < chain->fbo_pass; i++) for (i = 0; i < (unsigned)chain->fbo_pass; i++)
{ {
struct video_fbo_rect *fbo_rect = &gl->fbo_rect[i]; struct video_fbo_rect *fbo_rect = &gl->fbo_rect[i];
struct gfx_fbo_scale *fbo_scale = &chain->fbo_scale[i]; struct gfx_fbo_scale *fbo_scale = &chain->fbo_scale[i];

View File

@ -4032,13 +4032,13 @@ static int action_ok_open_uwp_permission_settings(const char *path,
static int action_ok_open_picker(const char *path, static int action_ok_open_picker(const char *path,
const char *label, unsigned type, size_t idx, size_t entry_idx) const char *label, unsigned type, size_t idx, size_t entry_idx)
{ {
char* new_path;
int ret; int ret;
#ifdef __WINRT__ #ifdef __WINRT__
new_path = uwp_trigger_picker(); char *new_path = uwp_trigger_picker();
if (!new_path) if (!new_path)
return 0; /* User aborted */ return 0; /* User aborted */
#else #else
char *new_path = NULL;
retro_assert(false); retro_assert(false);
#endif #endif