Skip to content

Commit

Permalink
fix warning with CHPL_DEVELOPER
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <[email protected]>
  • Loading branch information
jabraham17 committed Jun 3, 2024
1 parent 8771fd8 commit 6bebce5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/src/mem/jemalloc/mem-jemalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ static struct shared_heap {
} heap;


#ifdef USE_JE_CHUNK_HOOKS
// compute aligned index into our shared heap, alignment must be a power of 2
static inline void* alignHelper(void* base_ptr, size_t offset, size_t alignment) {
uintptr_t p;
Expand All @@ -73,6 +74,7 @@ static inline void* alignHelper(void* base_ptr, size_t offset, size_t alignment)
p = (p + alignment - 1) & ~(alignment - 1);
return(void*) p;
}
#endif


// *** Chunk hook replacements *** //
Expand Down

0 comments on commit 6bebce5

Please sign in to comment.