From f8f394bdf2f0f3bd033eef396091921091d73805 Mon Sep 17 00:00:00 2001 From: SnapperTT <4939563+SnapperTT@users.noreply.github.com> Date: Tue, 21 Jun 2022 14:15:19 +1000 Subject: [PATCH] Update callback.cpp (#2826) --- examples/07-callback/callback.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/07-callback/callback.cpp b/examples/07-callback/callback.cpp index 52cc283df..06f5fb7f2 100644 --- a/examples/07-callback/callback.cpp +++ b/examples/07-callback/callback.cpp @@ -279,8 +279,9 @@ public: if (kNaturalAlignment >= _align) { + intptr_t _ptrOld = (intptr_t) _ptr; void* ptr = ::realloc(_ptr, _size); - bx::debugPrintf("%s(%d): REALLOC %p (old %p) of %d byte(s)\n", _file, _line, ptr, _ptr, _size); + bx::debugPrintf("%s(%d): REALLOC %p (old %p) of %d byte(s)\n", _file, _line, ptr, _ptrOld, _size); if (NULL == _ptr) {