Merge "Fix posix_memalign handling"

This commit is contained in:
Jenkins 2016-11-29 20:21:53 +00:00 committed by Gerrit Code Review
commit fff899253e
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ void *get_aligned_buffer16(int size)
* Ensure all memory is aligned to 16-byte boundaries
* to support 128-bit operations
*/
if (posix_memalign(&buf, 16, size) < 0) {
if (posix_memalign(&buf, 16, size) != 0) {
return NULL;
}