16 Aug
2021
16 Aug
'21
4:05 p.m.
On Fri, 13 Aug 2021 at 16:15, Matteo Bruni <mbruni(a)codeweavers.com> wrote:
@@ -37,7 +37,7 @@ static inline void *vkd3d_malloc(size_t size) static inline void *vkd3d_realloc(void *ptr, size_t size) { if (!(ptr = realloc(ptr, size))) - ERR("Out of memory.\n"); + ERR("Out of memory, size %u.\n", size); return ptr; }
The change seems fine in principle, but using %u would introduce compiler warnings for 64-bit builds.