Skip to content

Commit

Permalink
Fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomCrafty committed Jun 30, 2024
1 parent 2fa86bc commit b0f9ec5
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 b0f9ec5

Please sign in to comment.