From f9d02263eeee9d7b356f79b05642d2987e5ddf22 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Wed, 24 Jun 2020 17:11:46 -0700 Subject: [PATCH] jets: use appropriate macro --- pkg/urbit/jets/e/jam.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/urbit/jets/e/jam.c b/pkg/urbit/jets/e/jam.c index 1abf18a5b..9b0502d0d 100644 --- a/pkg/urbit/jets/e/jam.c +++ b/pkg/urbit/jets/e/jam.c @@ -32,10 +32,7 @@ u3qe_jam(u3_atom a) u3a_print_memory(stderr, "memoization cache", mem_w); u3h_root* har_u = u3to(u3h_root, u3R->cax.har_p); u3l_log("memoization entries: %d\r\n", har_u->use_w); - c3_w diff = (u3R->hat_p < u3R->cap_p) ? - (u3R->cap_p - u3R->hat_p) : - (u3R->hat_p - u3R->cap_p); - u3a_print_memory(stderr, "unused free", diff); + u3a_print_memory(stderr, "unused free", u3a_open(u3R)); return tot_w; } #endif