Skip to content

Commit 47952ca

Browse files
committed
Addresses warning/error: integer conversion resulted in truncation as reported and solved by C. Horvath.
Signed-off-by: Andre Pradhana <andre.pradhana@gmail.com>
1 parent 7edd8cd commit 47952ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openvdb/openvdb/points/AttributeSet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ using GroupType = uint8_t;
3838
class OPENVDB_API AttributeSet
3939
{
4040
public:
41-
enum { INVALID_POS = std::numeric_limits<size_t>::max() };
41+
enum AttributePositionLabel : size_t { INVALID_POS = std::numeric_limits<size_t>::max() };
4242

4343
using Ptr = std::shared_ptr<AttributeSet>;
4444
using ConstPtr = std::shared_ptr<const AttributeSet>;

0 commit comments

Comments
 (0)