diff --git a/r5dev/thirdparty/lzham/lzham_vector.cpp b/r5dev/thirdparty/lzham/lzham_vector.cpp
index ca3f449d..c2268050 100644
--- a/r5dev/thirdparty/lzham/lzham_vector.cpp
+++ b/r5dev/thirdparty/lzham/lzham_vector.cpp
@@ -37,7 +37,7 @@ namespace lzham
                return false;
                
             char buf[256];
-            sprintf_s(buf, sizeof(buf), "vector: lzham_realloc() failed allocating %u bytes", desired_size);
+            sprintf_s(buf, sizeof(buf), "vector: lzham_realloc() failed allocating %llu bytes", desired_size);
             LZHAM_FAIL(buf);
          }
          m_p = new_p;
@@ -51,7 +51,7 @@ namespace lzham
                return false;
                
             char buf[256];
-            sprintf_s(buf, sizeof(buf), "vector: lzham_malloc() failed allocating %u bytes", desired_size);
+            sprintf_s(buf, sizeof(buf), "vector: lzham_malloc() failed allocating %llu bytes", desired_size);
             LZHAM_FAIL(buf);
          }