Silence some warnings

This commit is contained in:
twinaphex 2021-02-16 20:57:54 +01:00
parent 9c37cc948a
commit 4b0f344024
2 changed files with 3 additions and 3 deletions

View File

@ -559,7 +559,7 @@ int64_t rzipstream_read(rzipstream_t *stream, void *data, int64_t len)
/* Process input data */
while (data_len > 0)
{
uint32_t read_size = 0;
int64_t read_size = 0;
/* Check whether we have reached the end
* of the file */
@ -821,7 +821,7 @@ int64_t rzipstream_write(rzipstream_t *stream, const void *data, int64_t len)
/* Process input data */
while (data_len > 0)
{
uint32_t cache_size = 0;
int64_t cache_size = 0;
/* If input buffer is full, compress and write to disk */
if (stream->in_buf_ptr >= stream->in_buf_size)

View File

@ -6488,7 +6488,7 @@ static int action_ok_push_dropdown_item_input_device_index(const char *path,
if (!setting)
return menu_cbs_exit();
settings->uints.input_joypad_map[setting->index_offset] = entry_idx;
settings->uints.input_joypad_map[setting->index_offset] = (unsigned)entry_idx;
return action_cancel_pop_default(NULL, NULL, 0, 0);
}