mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-12 03:22:41 +00:00
refactore(userspace/falco): use static_cast rather than c style cast
Signed-off-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
parent
40f2b73d7e
commit
c94acdee19
@ -442,7 +442,7 @@ void stats_writer::collector::get_metrics_output_fields_additional(
|
||||
nlohmann::json j;
|
||||
malloc_stats_print(
|
||||
[](void* to, const char* from) {
|
||||
nlohmann::json* j = (nlohmann::json*)to;
|
||||
nlohmann::json* j = static_cast<nlohmann::json*>(to);
|
||||
*j = nlohmann::json::parse(from);
|
||||
},
|
||||
&j,
|
||||
|
Loading…
Reference in New Issue
Block a user