mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-01-26 08:42:19 +01:00
Address compilation warning. (#209)
Specifically: "warning: comparison between signed and unsigned integer expressions". Make `i` the same type as `len`, which it is frequently compared to.
This commit is contained in:
@@ -97,7 +97,7 @@ AsyncWebServerRequest::~AsyncWebServerRequest(){
|
||||
}
|
||||
|
||||
void AsyncWebServerRequest::_onData(void *buf, size_t len){
|
||||
int i = 0;
|
||||
size_t i = 0;
|
||||
while (true) {
|
||||
|
||||
if(_parseState < PARSE_REQ_BODY){
|
||||
|
||||
Reference in New Issue
Block a user