1
0
mirror of https://github.com/wg/wrk synced 2026-05-13 17:05:29 +08:00

use correct type for getopt_long result

This commit is contained in:
Will
2015-01-31 14:44:54 +09:00
Unverified
parent 522ec607f8
commit b8431944ed
+2 -1
View File
@@ -552,7 +552,8 @@ static struct option longopts[] = {
};
static int parse_args(struct config *cfg, char **url, char **headers, int argc, char **argv) {
char c, **header = headers;
char **header = headers;
int c;
memset(cfg, 0, sizeof(struct config));
cfg->threads = 2;