mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
Silence more warnings
This commit is contained in:
parent
041670fe02
commit
bd2b913bc6
2
deps/miniupnpc/minissdpc.c
vendored
2
deps/miniupnpc/minissdpc.c
vendored
@ -145,7 +145,7 @@ getDevicesFromMiniSSDPD(const char * devtype, const char * socketpath, int * err
|
||||
if(n<=0) break; \
|
||||
bufferindex = 0; \
|
||||
} \
|
||||
lcopy = MIN(l, (n - bufferindex)); \
|
||||
lcopy = (unsigned int)MIN(l, (n - bufferindex)); \
|
||||
memcpy(p, buffer + bufferindex, lcopy); \
|
||||
l -= lcopy; \
|
||||
p += lcopy; \
|
||||
|
@ -493,8 +493,8 @@ static void gl_glsl_strip_parameter_pragmas(char *source)
|
||||
static bool gl_glsl_load_source_path(struct video_shader_pass *pass,
|
||||
const char *path)
|
||||
{
|
||||
int64_t len;
|
||||
int nitems = pass ? filestream_read_file(path,
|
||||
int64_t len = 0;
|
||||
int64_t nitems = pass ? filestream_read_file(path,
|
||||
(void**)&pass->source.string.vertex, &len) : 0;
|
||||
|
||||
if (nitems <= 0 || len <= 0)
|
||||
|
@ -48,7 +48,7 @@ typedef struct intfstream_info
|
||||
struct
|
||||
{
|
||||
uint8_t *data;
|
||||
unsigned size;
|
||||
uint64_t size;
|
||||
} buf;
|
||||
bool writable;
|
||||
} memory;
|
||||
|
Loading…
x
Reference in New Issue
Block a user