From 5742860db4af8ed2b8f8b63f3dc6ea01e856fd94 Mon Sep 17 00:00:00 2001 From: Joseph Mingrone Date: Fri, 16 Oct 2020 20:25:02 -0300 Subject: [PATCH] Fix v2.5.20 build error (cannot convert std::nullptr_t to hyFloat) --- src/core/matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/matrix.cpp b/src/core/matrix.cpp index 2692c7ac1..14b58a302 100644 --- a/src/core/matrix.cpp +++ b/src/core/matrix.cpp @@ -2236,7 +2236,7 @@ bool _Matrix::IncreaseStorage (void) { } else { theData = (hyFloat*) MemReallocate(theData, lDim*sizeof(void*)); for (long i = lDim-allocationBlock; i < lDim; i++) { - theData [i] = ZEROPOINTER; + theData [i] = ZEROOBJECT; } } } else {