mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(CXX_BUILD) Avoid some C++ warnings + buildfix
This commit is contained in:
parent
0955fac195
commit
7508eab655
2 changed files with 3 additions and 2 deletions
|
@ -900,7 +900,7 @@ static bool init_media_info(void)
|
|||
#ifdef HAVE_SSA
|
||||
if (sctx[0])
|
||||
{
|
||||
size_t i;
|
||||
unsigned i;
|
||||
|
||||
ass = ass_library_init();
|
||||
ass_set_message_cb(ass, ass_msg_cb, NULL);
|
||||
|
@ -915,7 +915,7 @@ static bool init_media_info(void)
|
|||
ass_set_fonts(ass_render, NULL, NULL, 1, NULL, 1);
|
||||
ass_set_hinting(ass_render, ASS_HINTING_LIGHT);
|
||||
|
||||
for (i = 0; i < subtitle_streams_num; i++)
|
||||
for (i = 0; i < (unsigned)subtitle_streams_num; i++)
|
||||
{
|
||||
ass_track[i] = ass_new_track(ass);
|
||||
ass_process_codec_private(ass_track[i], (char*)ass_extra_data[i],
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <retro_assert.h>
|
||||
#include <retro_stat.h>
|
||||
#include <string/stdstring.h>
|
||||
#include <streams/file_stream.h>
|
||||
#include <lists/string_list.h>
|
||||
|
||||
#include "../menu_driver.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue