Skip to content

Commit

Permalink
fix fprintf() datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinram committed Jun 6, 2017
1 parent 3c08877 commit 3ab2670
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### MySQL bruteforcer.

##### MySQL Brute v.0.09
##### MySQL Brute v.0.10


## Purpose
Expand Down
8 changes: 4 additions & 4 deletions mysqlbrute.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @author Martin Latter
* @copyright Martin Latter, 27/05/2017
* @version 0.09
* @version 0.10
* @license GNU GPL version 3.0 (GPL v3); https://www.gnu.org/licenses/gpl-3.0.html
* @link https://github.com/Tinram/MySQL-Brute.git
*
Expand All @@ -30,7 +30,7 @@
#include <mysql.h>


#define MB_VERSION "0.09"
#define MB_VERSION "0.10"
#define MAX_WORD_LEN 50


Expand Down Expand Up @@ -101,7 +101,7 @@ int main(int iArgCount, char* aArgV[]) {

if (iWordCount % 1000 == 0) {

fprintf(stdout, "line: %d\r", iWordCount);
fprintf(stdout, "line: %u\r", iWordCount);
fflush(stdout);
}

Expand All @@ -117,7 +117,7 @@ int main(int iArgCount, char* aArgV[]) {
fprintf(stdout, "\n\nNo password match.\n");
}

fprintf(stdout, "\nwords parsed: %d\n", iWordCount);
fprintf(stdout, "\nwords parsed: %u\n", iWordCount);

/* timer end */
tDiff = clock() - tStart;
Expand Down

0 comments on commit 3ab2670

Please sign in to comment.