mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +02:00
Fix some random -Wconversion warnings
This commit is contained in:
parent
548ad391d9
commit
53ec5ac69f
16 changed files with 82 additions and 80 deletions
|
@ -82,7 +82,7 @@ static string printHash32(const Hash & hash)
|
|||
string s;
|
||||
s.reserve(len);
|
||||
|
||||
for (int n = len - 1; n >= 0; n--) {
|
||||
for (int n = (int) len - 1; n >= 0; n--) {
|
||||
unsigned int b = n * 5;
|
||||
unsigned int i = b / 8;
|
||||
unsigned int j = b % 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue