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:
parent
89455b18cb
commit
c0efd6c317
3 changed files with 4 additions and 3 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue