GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 9ca93447 authored by Shane Snyder's avatar Shane Snyder

pool-size needs to be unsigned

parent 87213431
......@@ -32,7 +32,7 @@ typedef struct {
typedef struct {
char* listen_addr;
char* cluster_file;
int pool_size;
size_t pool_size;
} mobject_server_options;
static void usage(void)
......@@ -57,7 +57,7 @@ static void parse_args(int argc, char **argv, mobject_server_options *opts)
switch (c)
{
case 'p':
opts->pool_size = atoi(optarg);
opts->pool_size = strtoul(optarg, NULL, 0);
break;
default:
usage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment