Skip to content

Commit

Permalink
Fix arm compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinhora committed Jul 12, 2022
1 parent 458709b commit c9692c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libponyrt/mem/pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ static void track_mem_allocated(size_t size)
#define MAX_MAX_MEM_MB_ALLOWED 8589934592
#endif

#define MAX_MAX_MEM_ALLOWED (MAX_MAX_MEM_MB_ALLOWED * 1024 * 1024)

#define MAX_MAX_MEM_ALLOWED ((size_t)MAX_MAX_MEM_MB_ALLOWED * (size_t)1024 * (size_t)1024)

void ponyint_pool_init(size_t max_mem_mb, size_t aggr_gc_threshold_mb)
{
Expand Down

0 comments on commit c9692c9

Please sign in to comment.