diff options
-rw-r--r-- | libsimple/aligned_allocz.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsimple/aligned_allocz.h b/libsimple/aligned_allocz.h index eb8b34f..3137004 100644 --- a/libsimple/aligned_allocz.h +++ b/libsimple/aligned_allocz.h @@ -50,7 +50,7 @@ libsimple_aligned_allocz(int clear__, size_t alignment__, size_t n__) memset(ret__, 0, n__); return ret__; #else - if (!alignment__ || alignment__ % sizeof(void *))) { + if (!alignment__ || alignment__ % sizeof(void *)) { errno = EINVAL; return NULL; } |