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:
Earle F. Philhower, III committed 2017-08-15 20:58:16 -07:00
1 parent 64ceb33a31
commit 0a453a077a
9 files changed
+43 -63

No files matched your search

+1 -1
View File
@@ -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;