Commit aa7a09f0 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix type to use size_t for strlen result.

parent 36e41372
......@@ -24,7 +24,7 @@ void usage(void)
int main(int argc, char *argv[])
{
int c, len;
int c;
char *cstring;
char *ifile = NULL, *ofile = NULL;
int debug = 0;
......@@ -37,7 +37,7 @@ int main(int argc, char *argv[])
{
c = *++argv[0];
cstring = argv[0];
len = strlen(cstring);
size_t len = strlen(cstring);
switch (c)
{
case 'd':
......
Supports Markdown
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