diff --git a/modules/juce_core/native/juce_posix_SharedCode.h b/modules/juce_core/native/juce_posix_SharedCode.h index 702b864040..f1301186af 100644 --- a/modules/juce_core/native/juce_posix_SharedCode.h +++ b/modules/juce_core/native/juce_posix_SharedCode.h @@ -543,7 +543,7 @@ void MemoryMappedFile::openInternal (const File& file, AccessMode mode) MemoryMappedFile::~MemoryMappedFile() { if (address != nullptr) - munmap (address, range.getLength()); + munmap (address, (size_t) range.getLength()); if (fileHandle != 0) close (fileHandle); diff --git a/modules/juce_core/network/juce_Socket.cpp b/modules/juce_core/network/juce_Socket.cpp index 807384c09a..d7441310fd 100644 --- a/modules/juce_core/network/juce_Socket.cpp +++ b/modules/juce_core/network/juce_Socket.cpp @@ -150,7 +150,7 @@ namespace SocketHelpers fd_set* const pwset = forReading ? nullptr : &wset; #if JUCE_WINDOWS - if (select (handle + 1, prset, pwset, 0, timeoutp) < 0) + if (select ((int) handle + 1, prset, pwset, 0, timeoutp) < 0) return -1; #else { diff --git a/modules/juce_core/network/juce_URL.h b/modules/juce_core/network/juce_URL.h index e9150969da..8975a09471 100644 --- a/modules/juce_core/network/juce_URL.h +++ b/modules/juce_core/network/juce_URL.h @@ -150,7 +150,7 @@ public: /** Returns an array of the names of all the URL's parameters. E.g. for the url "www.fish.com?type=haddock&amount=some+fish", this array would - contain two items: "type" and "haddock". + contain two items: "type" and "amount". You can call getParameterValues() to get the corresponding value of each parameter. Note that the list can contain multiple parameters with the same name.