aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_allocation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-14 17:17:36 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-14 17:17:36 +0100
commitf62e24a88c21235bc3c901508cfb474509ef2961 (patch)
treeee481be9675674d83f54a6c66dee8356ef1dbcbc /src/util/common_allocation.c
parent3522008dfd14f049a821dfba7ba89a27aa27d4aa (diff)
downloadgnunet-f62e24a88c21235bc3c901508cfb474509ef2961.tar.gz
gnunet-f62e24a88c21235bc3c901508cfb474509ef2961.zip
spell checking
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r--src/util/common_allocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c
index a404a1627..215df55d4 100644
--- a/src/util/common_allocation.c
+++ b/src/util/common_allocation.c
@@ -147,7 +147,7 @@ GNUNET_xnew_array_3d_ (size_t n,
147 147
148 for (size_t i = 0; i < n; i++) 148 for (size_t i = 0; i < n; i++)
149 { 149 {
150 /* need to cast to (char *) temporarily for byte level acuracy */ 150 /* need to cast to (char *) temporarily for byte level accuracy */
151 ret[i] = (char **) ((char *) ret /* base address */ 151 ret[i] = (char **) ((char *) ret /* base address */
152 + n * sizeof(void **) /* skip 1. dim header */ 152 + n * sizeof(void **) /* skip 1. dim header */
153 + i * m * sizeof(void *)); /* skip to 2. dim header */ 153 + i * m * sizeof(void *)); /* skip to 2. dim header */