aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-03 17:29:13 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-03 17:29:13 +0200
commite40e5bfcd40be2bbdce8a00066709bcf85b8c79c (patch)
treeef4d9a5b31ff6c960a855248a56f12c9e532c2e7 /src/include
parentf50af5edddee3a5d7d353b3829829c00a16890cc (diff)
downloadgnunet-e40e5bfcd40be2bbdce8a00066709bcf85b8c79c.tar.gz
gnunet-e40e5bfcd40be2bbdce8a00066709bcf85b8c79c.zip
bad sizeof
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_common.h2
1 files changed, 1 insertions, 1 deletions
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,
1151 * @return 0 if a is zero, non-zero otherwise 1151 * @return 0 if a is zero, non-zero otherwise
1152 */ 1152 */
1153#define GNUNET_is_zero(a) \ 1153#define GNUNET_is_zero(a) \
1154 GNUNET_is_zero_ (a, sizeof (a)) 1154 GNUNET_is_zero_ (a, sizeof (*a))
1155 1155
1156 1156
1157/** 1157/**