diff options
author | Mattias Andrée <maandree@kth.se> | 2024-07-01 19:12:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-07-01 19:12:45 +0200 |
commit | e32e1c61ffc9763c4b512a38a6868a2509a7d68f (patch) | |
tree | d0ab576ebae357d9d811a93c18eaec87818622e3 | |
parent | Properly fix support for version of C before C11 (diff) | |
download | libsimple-e32e1c61ffc9763c4b512a38a6868a2509a7d68f.tar.gz libsimple-e32e1c61ffc9763c4b512a38a6868a2509a7d68f.tar.bz2 libsimple-e32e1c61ffc9763c4b512a38a6868a2509a7d68f.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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; } |