aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/Matrix4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/g3dlite/source/Matrix4.cpp')
-rw-r--r--dep/g3dlite/source/Matrix4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/source/Matrix4.cpp b/dep/g3dlite/source/Matrix4.cpp
index f3b25ad5837..0588cb6ff46 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;
}