diff --git a/src/vt/messaging/active.impl.h b/src/vt/messaging/active.impl.h index c0884a8810..77e3b61750 100644 --- a/src/vt/messaging/active.impl.h +++ b/src/vt/messaging/active.impl.h @@ -55,7 +55,7 @@ namespace vt { namespace messaging { -constexpr ByteType msgsize_not_specified = -1; +constexpr ByteType msgsize_not_specified = static_cast(-1); constexpr NodeType broadcast_dest = uninitialized_destination; template