Skip to content

Commit

Permalink
Remoived size_t/int comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
cwoffenden committed Oct 5, 2021
1 parent cc53d59 commit 847d364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoder/basisu_enc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,7 @@ namespace basisu
WORD const numGroups = GetActiveProcessorGroupCount();
if (numGroups > 1) {
GROUP_AFFINITY affinity;
for (unsigned index = 0; index < threads; ) {
for (size_t index = 0; index < threads;) {
for (WORD group = 0; group < numGroups; ++group) {
if (DWORD groupCpus = GetMaximumProcessorCount(group)) {
for (; groupCpus > 0; --groupCpus) {
Expand Down

0 comments on commit 847d364

Please sign in to comment.