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 00:40:00 +0300
commit921f5adf30b93e3d76281c698e49af1dc2dcb67d (patch)
treec3555129b92d50eb0b3effd7471f71e0c0dd5461
parentd79b752a0e7da1d218abf0987743b5e1729efc2b (diff)
downloadbdwgc-921f5adf30b93e3d76281c698e49af1dc2dcb67d.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 075960cf..709e578e 100644
--- a/typd_mlc.c
+++ b/typd_mlc.c
@@ -630,7 +630,7 @@ GC_API GC_ATTR_MALLOC void * GC_CALL GC_malloc_explicitly_typed(size_t lb,
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);