diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-28 20:07:42 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-28 20:07:42 +0100 |
commit | eb8993d1c1150cd6523bc414edef4b8d54b9f844 (patch) | |
tree | b296fbf30b533b57fe7f5a105cff57b547059527 | |
parent | c1b7d6df1e176c20917aa5678a4ddda1228b3f54 (diff) |
Fix codestyle
-rw-r--r-- | cbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ enum pkg_config_flags { void * bufalloc(void *p, size_t n, size_t m) { - if (n != 0 && SIZE_MAX / n < m) { + if (n && SIZE_MAX / n < m) { errno = EOVERFLOW; die(__func__); } |