~/Windows-KeySubtractor (babu13)$ make
gcc -O3 -c sha256/sha256.c -o sha256.o
gcc -O3 -c base58/base58.c -o base58.o
gcc -O3 -c rmd160/rmd160.c -o rmd160.o
gcc -O3 -c util.c -o util.o
gcc -o keysubtracter keysubtracter.c util.o sha256.o base58.o rmd160.o -lgmp
keysubtracter.c: In function ‘set_bit’:
keysubtracter.c:694:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
694 | fprintf(stderr, "[+] Keys to Generate: %d\n", N);
| ~^ ~
| | |
| int uint64_t {aka long unsigned int}
| %ld
keysubtracter.c: In function ‘set_range’:
keysubtracter.c:783:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
783 | fprintf(stderr, "[+] Keys to Generate: %d\n", N);
| ~^ ~
| | |
| int uint64_t {aka long unsigned int}
| %ld
~/Windows-KeySubtractor (babu13)$ make
gcc -O3 -c sha256/sha256.c -o sha256.o
gcc -O3 -c base58/base58.c -o base58.o
gcc -O3 -c rmd160/rmd160.c -o rmd160.o
gcc -O3 -c util.c -o util.o
gcc -o keysubtracter keysubtracter.c util.o sha256.o base58.o rmd160.o -lgmp
keysubtracter.c: In function ‘set_bit’:
keysubtracter.c:694:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
694 | fprintf(stderr, "[+] Keys to Generate: %d\n", N);
| ~^ ~
| | |
| int uint64_t {aka long unsigned int}
| %ld
keysubtracter.c: In function ‘set_range’:
keysubtracter.c:783:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
783 | fprintf(stderr, "[+] Keys to Generate: %d\n", N);
| ~^ ~
| | |
| int uint64_t {aka long unsigned int}
| %ld