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.
1 parent af58fbb commit 76168eeCopy full SHA for 76168ee
src/solutions/print-in-binary.c
@@ -22,7 +22,7 @@ main(int argc, char **argv)
22
assert(argc == 2);
23
24
char a[sizeof (int) * 8];
25
- int i = 1, n = atoi(argv[1]);
+ size_t i = 1, n = atoi(argv[1]);
26
27
assert(n >= 0);
28
(void) memset(a, '0', sizeof (a));
0 commit comments