Skip to content

Commit 8e9701d

Browse files
fixed types of decompress call
1 parent 3b0b0d9 commit 8e9701d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decompress/utility.cpp

+1-1
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)