1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Tidied up a couple of msvc warning/errors.

This commit is contained in:
Julian Storer 2011-08-19 11:31:23 +01:00
parent 89455b18cb
commit c0efd6c317
3 changed files with 4 additions and 3 deletions

View file

@ -54,6 +54,7 @@ public:
void selectionChanged();
void fileClicked (const File& file, const MouseEvent& e);
void fileDoubleClicked (const File& file);
void browserRootChanged (const File&) {}
void showFile (const File& file);
//[/UserMethods]

View file

@ -37,7 +37,7 @@ namespace FlacNamespace
#define FLAC__NO_DLL 1
#if JUCE_MSVC
#pragma warning (disable: 4267 4127 4244 4996 4100 4701 4702 4013 4133 4206 4312 4505 4365 181 111)
#pragma warning (disable: 4267 4127 4244 4996 4100 4701 4702 4013 4133 4206 4312 4505 4365 4005 4334 181 111)
#endif
#if JUCE_MAC

View file

@ -87,7 +87,7 @@ public:
if (headerSize <= 0)
return 0;
howMany = (int) jmin ((int64) howMany, zipEntryInfo.compressedSize - pos);
howMany = (int) jmin ((int64) howMany, (int64) (zipEntryInfo.compressedSize - pos));
if (inputStream == nullptr)
return 0;
@ -112,7 +112,7 @@ public:
bool isExhausted()
{
return headerSize <= 0 || pos >= zipEntryInfo.compressedSize;
return headerSize <= 0 || pos >= (int64) zipEntryInfo.compressedSize;
}
int64 getPosition()