aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/G3D-v9.0 hotfix4.diff
blob: 71589d226ae0a60371ab912701265721aa8bf4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 dep/g3dlite/source/Matrix4.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dep/g3dlite/source/Matrix4.cpp b/dep/g3dlite/source/Matrix4.cpp
index f3b25ad..0588cb6 100644
--- a/dep/g3dlite/source/Matrix4.cpp
+++ b/dep/g3dlite/source/Matrix4.cpp
@@ -606,7 +606,7 @@ bool Matrix4float64::operator==(const Matrix4float64& other) const {
     // If the bit patterns are identical, they must be
     // the same matrix.  If not, they *might* still have
     // equal elements due to floating point weirdness.
-    if (memcmp(this, &other, sizeof(Matrix4float64) == 0)) {
+    if (memcmp(this, &other, sizeof(Matrix4float64)) == 0) {
         return true;
     }