aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-30 12:49:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-30 12:49:11 +0200
commit170b9c1fd81b29721a0e4eb43b06b229a4f425ad (patch)
treef91431377da7c67078c328ffe9347a0e4170ffd8 /src/include
parentb21cab7cb9da43009df76acdb779f7c89a003378 (diff)
downloadgnunet-170b9c1fd81b29721a0e4eb43b06b229a4f425ad.tar.gz
gnunet-170b9c1fd81b29721a0e4eb43b06b229a4f425ad.zip
stylefix
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 033a68894..34f419a49 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -1210,7 +1210,7 @@ GNUNET_is_zero_ (const void *a,
1210 * @param type name of the struct or union, i.e. pass 'struct Foo'. 1210 * @param type name of the struct or union, i.e. pass 'struct Foo'.
1211 */ 1211 */
1212#define GNUNET_new_array(n, type) ({ \ 1212#define GNUNET_new_array(n, type) ({ \
1213 GNUNET_assert (SIZE_MAX / sizeof (type) >= n); \ 1213 GNUNET_assert (SIZE_MAX / sizeof (type) >= n); \
1214 (type *) GNUNET_malloc ((n) * sizeof(type)); \ 1214 (type *) GNUNET_malloc ((n) * sizeof(type)); \
1215 }) 1215 })
1216 1216