Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Aug 13, 2024
1 parent 822fe11 commit bd8b99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/astcenccli_platform_dependents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void set_thread_name(
// Names are limited to 16 characters
wchar_t wname [17] { 0 };
size_t name_len = std::strlen(name);
size_t clamp_len = std::min(name_len, 16);
size_t clamp_len = std::min(name_len, static_cast<size_t>(16));

// We know we only have basic 7-bit ASCII so just widen
for (size_t i = 0; i < clamp_len; i++)
Expand Down

0 comments on commit bd8b99b

Please sign in to comment.