some extra casting around size_t

This commit is contained in:
Sara Damiano
2019-09-05 12:03:00 -04:00
parent d44e6b3b98
commit 05bee3294a
12 changed files with 41 additions and 41 deletions

View File

@@ -581,7 +581,7 @@ protected:
}
int16_t modemSend(const void* buff, size_t len, uint8_t mux) {
sendAT(GF("+CIPSEND="), mux, ',', len);
sendAT(GF("+CIPSEND="), mux, ',', (uint16_t)len);
if (waitResponse(2000L, GF(GSM_NL ">")) != 1) {
return 0;
}