summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/corealloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/corealloc.c')
-rw-r--r--src/lib/util/corealloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/corealloc.c b/src/lib/util/corealloc.c
index 089770b20ed..69535d8d495 100644
--- a/src/lib/util/corealloc.c
+++ b/src/lib/util/corealloc.c
@@ -104,7 +104,7 @@ void *malloc_file_line(size_t size, const char *file, int line, bool array, bool
void *result = array ? osd_malloc_array(size) : osd_malloc(size);
if (result == NULL)
{
- fprintf(stderr, "Failed to allocate %d bytes (%s:%d)\n", size, file, line);
+ fprintf(stderr, "Failed to allocate %d bytes (%s:%d)\n", UINT32(size), file, line);
osd_break_into_debugger("Failed to allocate RAM");
if (throw_on_fail)
throw std::bad_alloc();