Skip to content

Commit

Permalink
fix: narrowing conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Guekka authored and Ryan-rsm-McKenzie committed Feb 4, 2025
1 parent 3bd4900 commit 99e12f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsa/fo4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ namespace bsa::fo4
.width = this->header.width,
.height = this->header.height,
.depth = 1,
.arraySize = isCubemap ? 6 : 1,
.arraySize = isCubemap ? 6u : 1u,
.mipLevels = this->header.mip_count,
.miscFlags = isCubemap ? std::uint32_t{ DirectX::TEX_MISC_FLAG::TEX_MISC_TEXTURECUBE } : 0u,
.miscFlags2 = 0,
Expand Down

0 comments on commit 99e12f9

Please sign in to comment.