mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fix many warnings about implicit integer conversions when compiling for 64 bits.
--HG-- branch : minor
This commit is contained in:
@@ -176,7 +176,7 @@ int SoundData::getSampleRate() const
|
||||
|
||||
int SoundData::getSampleCount() const
|
||||
{
|
||||
return (size/channels)/(bitDepth/8);
|
||||
return (int) ((size/channels)/(bitDepth/8));
|
||||
}
|
||||
|
||||
float SoundData::getDuration() const
|
||||
|
||||
Reference in New Issue
Block a user