diff --git a/CMakeLists.txt b/CMakeLists.txt index d9db9f3..5124560 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,7 +115,6 @@ set(LIBRARIES crypto ssl) - if(APPLE) set(LIBRARIES ${LIBRARIES} "-framework IOKit") else() diff --git a/src/page.h b/src/page.h index 45a604f..f6e44a3 100644 --- a/src/page.h +++ b/src/page.h @@ -5276,7 +5276,7 @@ namespace xmreg {"tx_size" , fmt::format("{:0.4f}", static_cast(txd.size) / 1024.0)}, {"tx_fee" , xmreg::xmr_amount_to_str(txd.fee)}, - {"tx_version" , txd.version}, + {"tx_version" , static_cast(txd.version)}, {"blk_timestamp" , blk_timestamp}, {"blk_timestamp_uint" , blk.timestamp}, {"delta_time" , age.first}, diff --git a/src/tools.cpp b/src/tools.cpp index bf16c09..17fbc84 100644 --- a/src/tools.cpp +++ b/src/tools.cpp @@ -6,6 +6,7 @@ #include #include + namespace xmreg {