Skip to content

Commit 9969cf2

Browse files
committed
SnirReceiverBase: Added missing static_cast for windows cross compilation.
1 parent d2aeda2 commit 9969cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inet/physicallayer/wireless/common/base/packetlevel/SnirReceiverBase.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ bool SnirReceiverBase::computeIsReceptionSuccessful(const IListening *listening,
4949
return meanSnir > snirThreshold;
5050
}
5151
else
52-
throw cRuntimeError("Unknown SNIR threshold mode: '%d'", snirThresholdMode);
52+
throw cRuntimeError("Unknown SNIR threshold mode: '%d'", static_cast<int>(snirThresholdMode));
5353
}
5454

5555
} // namespace physicallayer

0 commit comments

Comments
 (0)