fix build with musl libc

This commit is contained in:
Michael Gehring 2017-10-05 13:20:10 +02:00
commit e965f32c96

View file

@ -3,6 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <stdint.h>
#define PROGRAM "PW-Inspector" #define PROGRAM "PW-Inspector"
#define VERSION "v0.2" #define VERSION "v0.2"
@ -36,7 +37,7 @@ void help() {
exit(-1); exit(-1);
} }
int32_t main(int32_t argc, char *argv[]) { int main(int argc, char *argv[]) {
int32_t i, j, k; int32_t i, j, k;
int32_t sets = 0, countsets = 0, minlen = 0, maxlen = MAXLENGTH, count = 0; int32_t sets = 0, countsets = 0, minlen = 0, maxlen = MAXLENGTH, count = 0;
int32_t set_low = 0, set_up = 0, set_no = 0, set_print = 0, set_other = 0; int32_t set_low = 0, set_up = 0, set_no = 0, set_print = 0, set_other = 0;