From d1c812f1162e5fdb13c215792725b2591d7428f5 Mon Sep 17 00:00:00 2001 From: Sheikh Dawood Abdul Ajees Date: Fri, 15 Sep 2017 15:41:57 -0500 Subject: PhysX 3.4.1, APEX 1.4.1 Release @22845541 --- PhysX_3.4/Samples/SampleBase/SampleAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PhysX_3.4/Samples/SampleBase/SampleAllocator.cpp') diff --git a/PhysX_3.4/Samples/SampleBase/SampleAllocator.cpp b/PhysX_3.4/Samples/SampleBase/SampleAllocator.cpp index 8e54221a..cca4c7a6 100644 --- a/PhysX_3.4/Samples/SampleBase/SampleAllocator.cpp +++ b/PhysX_3.4/Samples/SampleBase/SampleAllocator.cpp @@ -165,7 +165,7 @@ PxSampleAllocator::~PxSampleAllocator() continue; const DebugBlock* DB = (const DebugBlock*)mMemBlockList[i]; - sprintf(buffer, " Address 0x%p, %d bytes, allocated in: %s(%d):\n\n", DB+1, DB->mSize, DB->mFilename, DB->mLine); + sprintf(buffer, " Address 0x%p, %d bytes, allocated in: %s(%d):\n\n", (void*)(DB+1), DB->mSize, DB->mFilename, DB->mLine); print(buffer); NbLeaks++; -- cgit v1.2.3