summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/jpegd/image_loader_jpegd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/jpegd/image_loader_jpegd.cpp b/drivers/jpegd/image_loader_jpegd.cpp
index 4805cf4d5d..9d1263b81b 100644
--- a/drivers/jpegd/image_loader_jpegd.cpp
+++ b/drivers/jpegd/image_loader_jpegd.cpp
@@ -63,7 +63,7 @@ Error ImageLoaderJPG::load_image(Image *p_image,FileAccess *f) {
for (int y = 0; y < image_height; y++)
{
const jpgd::uint8* pScan_line;
- uint scan_line_len;
+ jpgd::uint scan_line_len;
if (decoder.decode((const void**)&pScan_line, &scan_line_len) != jpgd::JPGD_SUCCESS)
{
return ERR_FILE_CORRUPT;