projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1805437
)
fix mingw64 debug build
author
Robin Gareus
<robin@gareus.org>
Thu, 17 Nov 2016 11:58:28 +0000
(12:58 +0100)
committer
Robin Gareus
<robin@gareus.org>
Thu, 17 Nov 2016 11:58:28 +0000
(12:58 +0100)
libs/pbd/tlsf.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/tlsf.cc
b/libs/pbd/tlsf.cc
index 5a83159731a6a807119ba87350fdb03df66431fa..40c5864c418d2e3f19f49aac91e8db0783879e14 100644
(file)
--- a/
libs/pbd/tlsf.cc
+++ b/
libs/pbd/tlsf.cc
@@
-393,7
+393,10
@@
PBD::TLSF::TLSF (std::string name, size_t mem_pool_size)
assert (mem_pool);
assert (mem_pool_size >= sizeof(tlsf_t) + BHDR_OVERHEAD * 8);
+
+#ifndef __MINGW64__ // cast fails
assert (0 == (((unsigned long)mem_pool) & PTR_MASK));
+#endif
#ifndef PLATFORM_WINDOWS
memset (mem_pool, 0, mem_pool_size); // make resident