Skip to content

Commit

Permalink
#908 message- add static cast for -1 conversion
Browse files Browse the repository at this point in the history
- NVCC warning on constexpr assignment of -1 to unsigned type.
  • Loading branch information
pnstickne committed Jul 28, 2020
1 parent 8d741dd commit 6db5c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/messaging/active.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

namespace vt { namespace messaging {

constexpr ByteType msgsize_not_specified = -1;
constexpr ByteType msgsize_not_specified = static_cast<ByteType>(-1);
constexpr NodeType broadcast_dest = uninitialized_destination;

template <typename MsgPtrT>
Expand Down

0 comments on commit 6db5c29

Please sign in to comment.