Skip to content

Commit

Permalink
Fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomCrafty authored and powerof3 committed Jul 1, 2024
1 parent cbbab36 commit cd13b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/RE/N/NiBillboardNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace RE

void SetMode(FaceMode a_mode)
{
userFlags = (std::to_underlying(a_mode) << FACE_MODE_POS) | userFlags & ~FACE_MODE_MASK;
userFlags = static_cast<uint16_t>((std::to_underlying(a_mode) << FACE_MODE_POS) | userFlags & ~FACE_MODE_MASK);
}

// members
Expand Down

0 comments on commit cd13b79

Please sign in to comment.