mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed some g++ compiler warnings
This commit is contained in:
parent
35facc3656
commit
9b687968db
19 changed files with 198 additions and 280 deletions
|
|
@ -309,7 +309,7 @@ void AudioDataConverters::convertInt24BEToFloat (const void* const source, float
|
|||
|
||||
void AudioDataConverters::convertInt32LEToFloat (const void* const source, float* const dest, int numSamples, const int srcBytesPerSample)
|
||||
{
|
||||
const float scale = 1.0f / 0x7fffffff;
|
||||
const auto scale = 1.0f / (float) 0x7fffffff;
|
||||
const char* intData = static_cast<const char*> (source);
|
||||
|
||||
if (source != (void*) dest || srcBytesPerSample >= 4)
|
||||
|
|
@ -334,7 +334,7 @@ void AudioDataConverters::convertInt32LEToFloat (const void* const source, float
|
|||
|
||||
void AudioDataConverters::convertInt32BEToFloat (const void* const source, float* const dest, int numSamples, const int srcBytesPerSample)
|
||||
{
|
||||
const float scale = 1.0f / 0x7fffffff;
|
||||
const auto scale = 1.0f / (float) 0x7fffffff;
|
||||
const char* intData = static_cast<const char*> (source);
|
||||
|
||||
if (source != (void*) dest || srcBytesPerSample >= 4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue