Fix typo.
libgomp/ChangeLog: * alloc.c (gomp_aligned_alloc): Fix typo.
This commit is contained in:
parent
90de06a7b3
commit
1b2b930152
@ -75,7 +75,7 @@ gomp_aligned_alloc (size_t al, size_t size)
|
|||||||
#elif defined(HAVE_POSIX_MEMALIGN)
|
#elif defined(HAVE_POSIX_MEMALIGN)
|
||||||
if (posix_memalign (&ret, al, size) != 0)
|
if (posix_memalign (&ret, al, size) != 0)
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
#lif defined(HAVE_ALIGNED_ALLOC)
|
#elif defined(HAVE_ALIGNED_ALLOC)
|
||||||
{
|
{
|
||||||
size_t sz = (size + al - 1) & ~(al - 1);
|
size_t sz = (size + al - 1) & ~(al - 1);
|
||||||
if (__builtin_expect (sz >= size, 1))
|
if (__builtin_expect (sz >= size, 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user