Skip to content

Commit 15c6845

Browse files
fixed types of decompress call
1 parent ebff4cf commit 15c6845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decompress/utility.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ int Arduino_Portenta_OTA::downloadAndDecompress(const char * url, bool const is_
174174
}
175175
case OTA_DOWNLOAD_FILE:
176176
// continue to download the payload, decompressing it and calculate crc
177-
decoder.decompress((char*)cursor, size - (cursor-buffer));
177+
decoder.decompress((uint8_t*)cursor, size - (cursor-buffer));
178178
ota_progress.crc32 = crc_update(
179179
ota_progress.crc32,
180180
cursor,

0 commit comments

Comments
 (0)