mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
griffin: increase warning level for vc2010, fix signed/unsigned mismatch
This commit is contained in:
parent
5eb5930838
commit
99dbc4d13e
@ -834,7 +834,7 @@ else ifneq (,$(findstring unix,$(platform)))
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
CFLAGS += -W2 $(MACHDEP) $(PLATCFLAGS)
|
||||
CFLAGS += -W3 $(MACHDEP) $(PLATCFLAGS)
|
||||
else
|
||||
CFLAGS += -Wall -std=gnu99 $(MACHDEP) $(PLATCFLAGS) $(INCLUDE)
|
||||
INCLUDE += -I./libretro-common/include \
|
||||
|
@ -340,7 +340,7 @@ int64_t retro_vfs_file_read_cdrom(libretro_vfs_implementation_file *stream,
|
||||
|
||||
if (string_is_equal_noncase(ext, "cue"))
|
||||
{
|
||||
if (len < (unsigned)(stream->cdrom.cue_len - stream->cdrom.byte_pos))
|
||||
if ((int64_t)len < (int64_t)stream->cdrom.cue_len - stream->cdrom.byte_pos)
|
||||
{
|
||||
#ifdef CDROM_DEBUG
|
||||
printf("[CDROM] Read: Reading %" PRIu64 " bytes from cuesheet starting at %" PRIu64 "...\n", len, stream->cdrom.byte_pos);
|
||||
|
Loading…
x
Reference in New Issue
Block a user