Skip to content
Commit d534977c authored by Loïc Molinari's avatar Loïc Molinari Committed by Daniel Stone
Browse files

shared: Fix release/debugoptimized build warning with gcc



Fix ‘image’ clobbered by ‘longjmp’ warning using volatile.

jpeg_image_data members are now also declared volatile (like
png_image_data members) to explicitly request compilers to store them
on the stack (not in registers) to avoid warnings and bugs later.

Co-authored-by: default avatarLeandro Ribeiro <leandro.ribeiro@collabora.com>
Signed-off-by: default avatarLoïc Molinari <loic.molinari@collabora.com>
parent 8c2d47f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment