diff --git a/src/interfaces/eth/eth_tlm.h b/src/interfaces/eth/eth_tlm.h index b36153dc..1df0b383 100644 --- a/src/interfaces/eth/eth_tlm.h +++ b/src/interfaces/eth/eth_tlm.h @@ -90,7 +90,7 @@ struct eth_packet_payload : public tlm::nw::tlm_network_payload { sc_core::sc_time sender_clk_period{sc_core::SC_ZERO_TIME}; static uint64_t get_id() { - static std::atomic_uint64_t id{0}; + static std::atomic id{0}; return id.fetch_add(1); } };