Browse Source

Fixed a couple of minor warnings

tags/2021-05-28
jules 9 years ago
parent
commit
e4f69698f2
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp
  2. +1
    -1
      modules/juce_core/zip/juce_ZipFile.cpp

+ 1
- 1
modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp View File

@@ -990,7 +990,7 @@ void JUCE_CALLTYPE FloatVectorOperations::enableFlushToZeroMode (bool shouldEnab
void JUCE_CALLTYPE FloatVectorOperations::disableDenormalisedNumberSupport() noexcept
{
#if JUCE_USE_SSE_INTRINSICS
const int mxcsr = _mm_getcsr();
const unsigned int mxcsr = _mm_getcsr();
_mm_setcsr (mxcsr | 0x8040); // add the DAZ and FZ bits
#endif
}


+ 1
- 1
modules/juce_core/zip/juce_ZipFile.cpp View File

@@ -60,7 +60,7 @@ private:
const int day = date & 31;
const int hours = time >> 11;
const int minutes = (time >> 5) & 63;
const int seconds = (time & 31) << 1;
const int seconds = (int) ((time & 31) << 1);
return Time (year, month, day, hours, minutes, seconds);
}


Loading…
Cancel
Save