Skip to content

Commit 6f5629e

Browse files
committed
Printf format specifiers
1 parent 07c63a3 commit 6f5629e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/ChunkRequest/ChunkRequest.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ void handleBody(AsyncWebServerRequest *request, uint8_t *data, size_t len, size_
179179
// go out of scope
180180
}
181181
if (state && state->outFile) {
182-
Serial.printf("Writing %d bytes at offset %d\n", len, index);
182+
Serial.printf("Writing %zu bytes at offset %zu\n", len, index);
183183
auto actual = state->outFile.write(data, len);
184184
if (actual != len) {
185185
Serial.println("WebDAV write failed. Deleting file.");

0 commit comments

Comments
 (0)