diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-06-28 23:10:34 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-06-28 23:10:34 -0500 |
commit | 26706cf0fc0e384325986860c57aace86bd0f8b4 (patch) | |
tree | fed0570e0f509f4ea408209d72f8e4a93da74538 /libre/newton-dynamics-libre/assert-fix.patch | |
parent | a2265820efc19bfa88b98c6e066faf5b5263bf85 (diff) | |
parent | cb222a99e5ea7d5e9c6a55488ef8f3438bc3652c (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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;
|