Merge branch 'nd/exclusion-regression-fix'
[gitweb.git] / builtin / receive-pack.c
index ca38131873aad1c5dd5b8001aceb39ed906b3c2d..2b3b746fb40d7a3da9cefd4688b6f60efde10c24 100644 (file)
@@ -1618,7 +1618,7 @@ static void prepare_shallow_update(struct command *commands,
                                continue;
                        si->need_reachability_test[i]++;
                        for (k = 0; k < 32; k++)
-                               if (si->used_shallow[i][j] & (1 << k))
+                               if (si->used_shallow[i][j] & (1U << k))
                                        si->shallow_ref[j * 32 + k]++;
                }