Skip to content

Commit

Permalink
SnirReceiverBase: Added missing static_cast for windows cross compila…
Browse files Browse the repository at this point in the history
…tion.
  • Loading branch information
levy committed May 15, 2023
1 parent d2aeda2 commit 9969cf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool SnirReceiverBase::computeIsReceptionSuccessful(const IListening *listening,
return meanSnir > snirThreshold;
}
else
throw cRuntimeError("Unknown SNIR threshold mode: '%d'", snirThresholdMode);
throw cRuntimeError("Unknown SNIR threshold mode: '%d'", static_cast<int>(snirThresholdMode));
}

} // namespace physicallayer
Expand Down

0 comments on commit 9969cf2

Please sign in to comment.