From eb8993d1c1150cd6523bc414edef4b8d54b9f844 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 28 Dec 2023 20:07:42 +0100 Subject: Fix codestyle --- cbs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbs.h b/cbs.h index 22b5e70..28c1d1e 100644 --- a/cbs.h +++ b/cbs.h @@ -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__); } -- cgit v1.2.3