summaryrefslogtreecommitdiff
path: root/typd_mlc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-26 13:29:12 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 13:29:12 +0200
commitc63ec8250de446bca83601966c918d37ad120a83 (patch)
treeaa7aaed00ff0e4bfc7c283b4679b02caed79d9d6 /typd_mlc.c
parente9faf6971ce03082cf82bdfaea1fa06741753379 (diff)
gc4.14 tarball importgc4_14
Diffstat (limited to 'typd_mlc.c')
-rw-r--r--typd_mlc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/typd_mlc.c b/typd_mlc.c
index 387d230..74f455d 100644
--- a/typd_mlc.c
+++ b/typd_mlc.c
@@ -632,7 +632,7 @@ ptr_t GC_clear_stack();
(GC_PTR)GC_clear_stack(GC_generic_malloc((word)lb, k))
#define GENERAL_MALLOC_IOP(lb,k) \
- (GC_PTR)GC_clear_stack(GC_generic_malloc_ignore_off_page((word)lb, k))
+ (GC_PTR)GC_clear_stack(GC_generic_malloc_ignore_off_page(lb, k))
#if defined(__STDC__) || defined(__cplusplus)
void * GC_malloc_explicitly_typed(size_t lb, GC_descr d)
@@ -702,7 +702,7 @@ DCL_LOCK_STATE;
FASTLOCK();
if( !FASTLOCK_SUCCEEDED() || (op = *opp) == 0 ) {
FASTUNLOCK();
- op = (ptr_t)GENERAL_MALLOC_IOP((word)lb, GC_explicit_kind);
+ op = (ptr_t)GENERAL_MALLOC_IOP(lb, GC_explicit_kind);
# ifdef MERGE_SIZES
lw = GC_size_map[lb]; /* May have been uninitialized. */
# endif
@@ -712,7 +712,7 @@ DCL_LOCK_STATE;
FASTUNLOCK();
}
} else {
- op = (ptr_t)GENERAL_MALLOC_IOP((word)lb, GC_explicit_kind);
+ op = (ptr_t)GENERAL_MALLOC_IOP(lb, GC_explicit_kind);
if (op != NULL)
lw = BYTES_TO_WORDS(GC_size(op));
}