diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-06-29 01:44:55 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-06-29 01:44:55 -0300 |
commit | 270680ba5fb35752b14273d0f067688646ba6f26 (patch) | |
tree | 415355fc249b6450fb5711667fd40538b4d4026e /libre/newton-dynamics-libre/assert-fix.patch | |
parent | 19ed1a3469f04d05136ab41ed00c4e0d3c71bb3a (diff) | |
parent | 6e344ea05f916864cda744bf1ac9e61882372896 (diff) | |
download | abslibre-270680ba5fb35752b14273d0f067688646ba6f26.tar.gz abslibre-270680ba5fb35752b14273d0f067688646ba6f26.tar.bz2 abslibre-270680ba5fb35752b14273d0f067688646ba6f26.zip |
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;
|