const char *value)
{
const char *about = scls;
- int slen;
- int i;
+ size_t slen;
+ unsigned int i;
int j;
- int ml;
- int p;
+ size_t ml;
+ size_t p;
char *scp;
const char *trans;
const struct GNUNET_GETOPT_CommandLineOption *opt;
printf ("%s\n%s\n", ctx->binaryOptions, gettext (about));
printf (_
("Arguments mandatory for long options are also mandatory for short options.\n"));
- slen = 0;
i = 0;
opt = ctx->allOptions;
while (opt[i].description != NULL)
}
if (slen < BORDER)
{
- printf ("%*s", BORDER - slen, "");
+ printf ("%*s", (int) (BORDER - slen), "");
slen = BORDER;
}
- trans = gettext (opt[i].description);
+ if (0 < strlen (opt[i].description))
+ trans = gettext (opt[i].description);
+ else
+ trans = "";
ml = strlen (trans);
p = 0;
OUTER: