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:
arantius 2017-09-07 15:02:46 -04:00 committed by Me No Dev
parent d37bd16c22
commit fe080dc07e
1 changed files with 1 additions and 1 deletions

View File

@ -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){