From e40e5bfcd40be2bbdce8a00066709bcf85b8c79c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 3 Apr 2020 17:29:13 +0200 Subject: bad sizeof --- src/include/gnunet_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 76c2b9352..86d1a9f37 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -1151,7 +1151,7 @@ GNUNET_is_zero_ (const void *a, * @return 0 if a is zero, non-zero otherwise */ #define GNUNET_is_zero(a) \ - GNUNET_is_zero_ (a, sizeof (a)) + GNUNET_is_zero_ (a, sizeof (*a)) /** -- cgit v1.2.3