Skip to content

Commit

Permalink
Merge pull request #1597 from apradhana/vdb_point_windows_warning
Browse files Browse the repository at this point in the history
Addresses warning in vdb point: integer conversion resulted in truncation
  • Loading branch information
apradhana authored Jun 6, 2023
2 parents 500b507 + 47952ca commit e17efa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvdb/openvdb/points/AttributeSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ using GroupType = uint8_t;
class OPENVDB_API AttributeSet
{
public:
enum { INVALID_POS = std::numeric_limits<size_t>::max() };
enum AttributePositionLabel : size_t { INVALID_POS = std::numeric_limits<size_t>::max() };

using Ptr = std::shared_ptr<AttributeSet>;
using ConstPtr = std::shared_ptr<const AttributeSet>;
Expand Down

0 comments on commit e17efa5

Please sign in to comment.