Skip to content

Commit d0f33ea

Browse files
authored
Forgot to update the variable data types (#2025)
* a fix for derived function hides overloaded virtual function * adjust the data types instead * forgot to update vars
1 parent 31131a9 commit d0f33ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AudioTools/CoreAudio/AudioHttp/HttpRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ class HttpRequest : public BaseStream {
352352
const char *accept = ACCEPT_ALL;
353353
const char *accept_encoding = IDENTITY;
354354
bool is_ready = false;
355-
int32_t clientTimeout = URL_CLIENT_TIMEOUT; // 60000;
355+
size_t clientTimeout = URL_CLIENT_TIMEOUT; // 60000;
356356
void (*http_connect_callback)(HttpRequest &request, Url &url,
357357
HttpRequestHeader &request_header) = nullptr;
358358
bool is_chunked_output_active = false;

src/AudioTools/CoreAudio/BaseStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class CatStream : public BaseStream {
241241
bool is_active = false;
242242
void (*begin_callback)(Stream *stream) = nullptr;
243243
void (*end_callback)(Stream *stream) = nullptr;
244-
uint_fast32_t _timeout = 0;
244+
size_t _timeout = 0;
245245

246246
/// moves to the next stream if necessary: returns true if we still have a
247247
/// valid stream

0 commit comments

Comments
 (0)