diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-05 09:38:52 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-05 09:38:52 -0300 |
commit | 8f4aef774d42af7354a93309b1f5149580f3b964 (patch) | |
tree | ad9cb30c1210ab1cc18eba0185217199715e2922 | |
parent | 058abfc4cca99d62d67fd3bf982574fda9fc97f4 (diff) | |
parent | 88ecc29d1e5d731cdc3689d235c30e850e5912d7 (diff) |
Merge pull request #3241 from mrezai/fix-jpeg-3228
Fix uint compile error, #3228
-rw-r--r-- | drivers/jpegd/image_loader_jpegd.cpp | 2 |
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; |