From b6765812f7da9feccc271e8e0b06f166e8054386 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sat, 19 Sep 2026 20:32:34 -0400 Subject: fix bugs with map using untyped obj --- hal/untyped.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hal/untyped.c') diff --git a/hal/untyped.c b/hal/untyped.c index e76dd0e..6957175 100644 --- a/hal/untyped.c +++ b/hal/untyped.c @@ -18,7 +18,6 @@ int untyped_split(jove_owned_obj_t *tgt, jove_owned_obj_t *dst, size_t bytes) { jove_untyped_t *tgt_untyped = obj_deref(tgt); - if(bytes < JOVE_UNTYPED_MINSIZE) return EBADARG; if(tgt_untyped->limit - bytes < JOVE_UNTYPED_MINSIZE) return ETOOSMALL; tgt_untyped->limit -= bytes; -- cgit v1.2.3