diff --git a/uppsrc/Core/heaputil.cpp b/uppsrc/Core/heaputil.cpp index 524080ab4..b55dcc01a 100644 --- a/uppsrc/Core/heaputil.cpp +++ b/uppsrc/Core/heaputil.cpp @@ -94,7 +94,7 @@ void *SysAllocRaw(size_t size, size_t reqsize) } if(!ptr) OutOfMemoryPanic(size/*reqsize*/); - sKB += rsz; + sKB += (int)rsz; DoPeakProfile(); return ptr; }