mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Fix a few compiler warnings from MSVC
This commit is contained in:
parent
6bf469b7a8
commit
2e457eb3ea
6 changed files with 20 additions and 21 deletions
|
@ -1249,7 +1249,7 @@ Supervisor::NodeConfig Supervisor::NodeConfig::FromRecord(const RecordVal* node)
|
|||
const auto& affinity_val = node->GetField("cpu_affinity");
|
||||
|
||||
if ( affinity_val )
|
||||
rval.cpu_affinity = affinity_val->AsInt();
|
||||
rval.cpu_affinity = static_cast<int>(affinity_val->AsInt());
|
||||
|
||||
const auto& bare_mode_val = node->GetField("bare_mode");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue