diff options
author | root <root@rshg054.dnsready.net> | 2013-06-29 01:17:51 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-29 01:17:51 -0700 |
commit | 8421e68301cd00265bc8db838e69254316c7133a (patch) | |
tree | af089edb7cb6846d1fcb4ffc98d3e4f38ea18345 /libre/newton-dynamics-libre/assert-fix.patch | |
parent | 0a66b29837912ffee94e074fc35ba46896a96f2a (diff) |
Sat Jun 29 01:17:51 PDT 2013
Diffstat (limited to 'libre/newton-dynamics-libre/assert-fix.patch')
-rw-r--r-- | libre/newton-dynamics-libre/assert-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/newton-dynamics-libre/assert-fix.patch b/libre/newton-dynamics-libre/assert-fix.patch new file mode 100644 index 000000000..83dfdd790 --- /dev/null +++ b/libre/newton-dynamics-libre/assert-fix.patch @@ -0,0 +1,13 @@ +Index: source/core/dgTypes.cpp +=================================================================== +--- source/core/dgTypes.cpp (revision 506) ++++ source/core/dgTypes.cpp (working copy) +@@ -515,7 +515,7 @@ + return 0;
+ }
+ _ASSERTE (compareCount <= dgInt32 (strideInBytes / sizeof (dgFloat64)));
+- _ASSERT (strideInBytes == dgInt32 (sizeof (dgFloat64) * (strideInBytes / sizeof (dgFloat64))));
++ _ASSERTE (strideInBytes == dgInt32 (sizeof (dgFloat64) * (strideInBytes / sizeof (dgFloat64))));
+
+ dgInt32 stride = strideInBytes / dgInt32 (sizeof (dgFloat64));
+ dgInt32 stride2 = stride + 2;
|