mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Address some compiler warnings about implicit integer conversions.
--HG-- branch : minor
This commit is contained in:
@@ -157,7 +157,7 @@ Mpg123Decoder::Mpg123Decoder(Data *data, const std::string &ext, int bufferSize)
|
||||
mpg123_format_none(handle);
|
||||
mpg123_format(handle, rate, channels, MPG123_ENC_SIGNED_16);
|
||||
|
||||
sampleRate = rate;
|
||||
sampleRate = (int) rate;
|
||||
}
|
||||
catch (love::Exception &)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user