Page MenuHomePhabricator

[CMAKE] Fix a -Wpointer-to-int-cast when searching Jemalloc
ClosedPublic

Authored by Fabien on Jun 3 2020, 15:56.

Details

Summary
Test Plan
cmake -GNinja .. \
  -DUSE_JEMALLOC_EXPERIMENTAL=ON \
  -DCMAKE_C_FLAGS=-Werror

This will fail before this patch and succeed after.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix_warning_cast_ptr_to_int_CheckJemallocBuilds
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11162
Build 20902: Default Diff Build & Tests
Build 20901: Build without Wallet
Build 20900: Build with clang-10
Build 20899: arc lint + arc unit