Warning and static removal
Clean up compiler warnings and make static variables in class functions into class variables where they belong.
This commit is contained in:
1 parent
64ceb33a31
commit
0a453a077a
9 files changed
+43
-63
No files matched your search
@@ -53,7 +53,7 @@ uint32_t AudioFileSourceHTTPStream::read(void *data, uint32_t len)
|
||||
if (!http.connected()) return 0;
|
||||
|
||||
WiFiClient *stream = http.getStreamPtr();
|
||||
while (stream->available() < len) yield();
|
||||
while (stream->available() < (int)len) yield();
|
||||
|
||||
size_t avail = stream->available();
|
||||
if (!avail) return 0;
|
||||
|
||||
Reference in new issue
Block a user