1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

Minor warning fixes for mingw

This commit is contained in:
jules 2014-08-12 11:36:55 +01:00
parent 7c61188bf9
commit cd30b3bfd1
2 changed files with 3 additions and 3 deletions

View file

@ -33,8 +33,8 @@ namespace WasapiClasses
void logFailure (HRESULT hr)
{
(void) hr;
jassert (hr != 0x800401f0); // If you hit this, it means you're trying to call from
// a thread which hasn't been initialised with CoInitialize().
jassert (hr != (HRESULT) 0x800401f0); // If you hit this, it means you're trying to call from
// a thread which hasn't been initialised with CoInitialize().
#if JUCE_WASAPI_LOGGING
if (FAILED (hr))

View file

@ -347,7 +347,7 @@ void ZipFile::init()
in->setPosition (pos);
MemoryBlock headerData;
if (in->readIntoMemoryBlock (headerData, size) == size)
if (in->readIntoMemoryBlock (headerData, size) == (size_t) size)
{
pos = 0;