summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-06-07 19:02:06 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-06-17 07:38:53 +0300
commitece1f81ae81319922d63031a53a558a9a887ef4e (patch)
treef24b447941a37aaee82ab793ec256253c71b8e30
parent7169ea53d8bfef26a516bdd40015e7f9018aa333 (diff)
downloadbdwgc-ece1f81ae81319922d63031a53a558a9a887ef4e.tar.gz
Fix typo in GC_malloc_explicitly_typed comment
(a cherry-pick of commit 2e6178c68 from 'release-7_6') * typd_mlc.c (GC_malloc_explicitly_typed): Fix typo (remove duplicate "the") in comment.
-rw-r--r--typd_mlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/typd_mlc.c b/typd_mlc.c
index 0bb6e8a0..b3f5b604 100644
--- a/typd_mlc.c
+++ b/typd_mlc.c
@@ -625,7 +625,7 @@ GC_API void * GC_CALL GC_malloc_explicitly_typed(size_t lb, GC_descr d)
op = (ptr_t)GENERAL_MALLOC((word)lb, GC_explicit_kind);
if (0 == op) return 0;
/* It is not safe to use GC_size_map[lb] to compute lg here */
- /* as the the former might be updated asynchronously. */
+ /* as the former might be updated asynchronously. */
lg = BYTES_TO_GRANULES(GC_size(op));
} else {
*opp = obj_link(op);