X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=clients%2Futilities.c;h=5d761e3c94729c03dca3931b005ec381f359abb0;hb=f5c167f523682cb08109842ce010b29e80fdf63d;hp=0c286b70e1b3c76fddee058989fdd6be747bfb98;hpb=521e830fe336a17bee6e7376e3bf01a3b35ddc37;p=awesomized%2Flibmemcached diff --git a/clients/utilities.c b/clients/utilities.c index 0c286b70..5d761e3c 100644 --- a/clients/utilities.c +++ b/clients/utilities.c @@ -18,7 +18,7 @@ long int timedif(struct timeval a, struct timeval b) { - register int us, s; + long us, s; us = (int)(a.tv_usec - b.tv_usec); us /= 1000; @@ -29,7 +29,7 @@ long int timedif(struct timeval a, struct timeval b) void version_command(const char *command_name) { - printf("%s v%u.%u\n", command_name, 1, 0); + printf("%s v%u.%u\n", command_name, 1U, 0U); exit(0); } @@ -71,7 +71,7 @@ void help_command(const char *command_name, const char *description, { unsigned int x; - printf("%s v%u.%u\n\n", command_name, 1, 0); + printf("%s v%u.%u\n\n", command_name, 1U, 0U); printf("\t%s\n\n", description); printf("Current options. A '=' means the option takes a value.\n\n");