summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-05 09:38:52 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-05 09:38:52 -0300
commit8f4aef774d42af7354a93309b1f5149580f3b964 (patch)
treead9cb30c1210ab1cc18eba0185217199715e2922
parent058abfc4cca99d62d67fd3bf982574fda9fc97f4 (diff)
parent88ecc29d1e5d731cdc3689d235c30e850e5912d7 (diff)
Merge pull request #3241 from mrezai/fix-jpeg-3228
Fix uint compile error, #3228
-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;