Silence more warnings

This commit is contained in:
Twinaphex 2019-06-22 14:56:58 +02:00
parent 596b375da5
commit c795d2ade3
2 changed files with 2 additions and 2 deletions

2
deps/dr/dr_flac.h vendored
View File

@ -1335,7 +1335,7 @@ static DRFLAC_INLINE drflac_bool32 drflac__read_uint32(drflac_bs* bs, unsigned i
{
if (bitCount < DRFLAC_CACHE_L1_SIZE_BITS(bs))
{
*pResultOut = DRFLAC_CACHE_L1_SELECT_AND_SHIFT(bs, bitCount);
*pResultOut = (drflac_uint32)DRFLAC_CACHE_L1_SELECT_AND_SHIFT(bs, bitCount);
bs->consumedBits += bitCount;
bs->cache <<= bitCount;
} else {

View File

@ -278,7 +278,7 @@ void rc_parse_richpresence_internal(rc_richpresence_t* self, const char* script,
if (parse->buffer && strncmp(line, "FormatType=", 11) == 0) {
line += 11;
chars = endline - line;
chars = (int)(endline - line);
if (chars > 63)
chars = 63;
memcpy(format, line, chars);