From 95cd3ced6d7ce046134779c52fd3dccaf539fd50 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 5 May 2022 19:37:27 +0000 Subject: [PATCH] fix --- server/TracyPrint.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyPrint.hpp b/server/TracyPrint.hpp index 71f678e1..bf37c8f2 100644 --- a/server/TracyPrint.hpp +++ b/server/TracyPrint.hpp @@ -151,7 +151,7 @@ char* PrintFloatFixedWidth( char* begin, char* end, T value, int fixedWidth ) { assert( end > dstPtr ); *dstPtr++ = ' '; } - assert( end > dstPtr + width ); + assert( end >= dstPtr + width ); memcpy( dstPtr, buf, width ); dstPtr += width; assert(dstPtr == begin + fixedWidth);