diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-14 17:17:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-14 17:17:36 +0100 |
commit | f62e24a88c21235bc3c901508cfb474509ef2961 (patch) | |
tree | ee481be9675674d83f54a6c66dee8356ef1dbcbc /src/util/common_allocation.c | |
parent | 3522008dfd14f049a821dfba7ba89a27aa27d4aa (diff) | |
download | gnunet-f62e24a88c21235bc3c901508cfb474509ef2961.tar.gz gnunet-f62e24a88c21235bc3c901508cfb474509ef2961.zip |
spell checking
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r-- | src/util/common_allocation.c | 2 |
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 */ |