summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authormrezai <mhd.rezai@gmail.com>2016-01-05 15:45:02 +0330
committermrezai <mhd.rezai@gmail.com>2016-01-05 15:45:02 +0330
commit88ecc29d1e5d731cdc3689d235c30e850e5912d7 (patch)
treead9cb30c1210ab1cc18eba0185217199715e2922 /drivers
parent058abfc4cca99d62d67fd3bf982574fda9fc97f4 (diff)
Fix uint compile error
Diffstat (limited to 'drivers')
-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;