Skip to content

Commit

Permalink
Fix always-true comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-arch committed Mar 28, 2024
1 parent 0eae66d commit 4d1ee2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listing.c
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ compute_maxes(void)
}

if (prop_fields.links == 1) {
t = DIGINUM(file_info[i].linkn);
t = DIGINUM((unsigned int)file_info[i].linkn);
if (t > maxes.links)
maxes.links = t;
}
Expand Down

0 comments on commit 4d1ee2a

Please sign in to comment.