more MTC debugging
[ardour.git] / libs / rubberband / src / sysutils.cpp
index d52eee9511876a6823189a0199404f73870a4c32..902b1267abf734be56463eb49475d9deea732d93 100644 (file)
@@ -109,7 +109,7 @@ float *allocFloat(float *ptr, int count)
     void *allocated;
 #ifndef _WIN32
 #ifndef __APPLE__
-    if (!posix_memalign(&allocated, 16, count * sizeof(float)))
+    if (posix_memalign(&allocated, 16, count * sizeof(float)))
 #endif
 #endif
         allocated = malloc(count * sizeof(float));
@@ -133,7 +133,7 @@ double *allocDouble(double *ptr, int count)
     void *allocated;
 #ifndef _WIN32
 #ifndef __APPLE__
-    if (!posix_memalign(&allocated, 16, count * sizeof(double)))
+    if (posix_memalign(&allocated, 16, count * sizeof(double)))
 #endif
 #endif
         allocated = malloc(count * sizeof(double));