We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd12104 + 7b96d88 commit 23589a9Copy full SHA for 23589a9
bisect.c
@@ -525,9 +525,9 @@ struct commit_list *filter_skipped(struct commit_list *list,
525
* is increased by one between each call, but that should not matter
526
* for this application.
527
*/
528
-static int get_prn(int count) {
+static unsigned get_prn(unsigned count) {
529
count = count * 1103515245 + 12345;
530
- return ((unsigned)(count/65536) % PRN_MODULO);
+ return (count/65536) % PRN_MODULO;
531
}
532
533
/*
0 commit comments