Skip to content

Commit c2329f9

Browse files
committed
use size_t for the count
1 parent fd80033 commit c2329f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solutions/bitdiff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void
99
binprint(int n)
1010
{
1111
char a[sizeof (int) * 8];
12-
int i = 1;
12+
size_t i = 1;
1313

1414
assert(n >= 0);
1515
(void) memset(a, '0', sizeof (a));

0 commit comments

Comments
 (0)