Replaces inappropriate usage of (int) with (uint) throughout image_load_dds, which...
authorOmari Stephens <xsdg@xsdg.org>
Wed, 27 Jul 2022 18:34:42 +0000 (18:34 +0000)
committerColin Clark <colin.clark@cclark.uk>
Mon, 1 Aug 2022 08:07:19 +0000 (09:07 +0100)
commit54301aa11daeabb8b1b85241402fc20209bb1e1d
tree0ee73be7e64d345e7766d118e2a5e51e40b3aaca
parent92c834c3b78d50ec9b425035edc3561baa96ddf2
Replaces inappropriate usage of (int) with (uint) throughout image_load_dds, which only ever deals with at-most-32-bit unsigned values.

Also adds return value checking for g_try_malloc() to avoid NULL dereference on failure.
src/image_load_dds.c