Skip to content
Snippets Groups Projects
Commit bcd61b9f authored by rswindell's avatar rswindell
Browse files

Don't use size_t.

parent 885be866
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
/****************************************************************************/
static char* truncsp(char* str)
{
size_t c;
unsigned c;
c=strlen(str);
while(c && (str[c-1]==' ' || str[c-1]=='\t' || str[c-1]=='\r' || str[c-1]=='\n') c--;
......@@ -54,7 +54,7 @@ static char* truncsp(char* str)
/****************************************************************************/
static char* truncnl(char* str)
{
size_t c;
unsigned c;
c=strlen(str);
while(c && (str[c-1]=='\r' || str[c-1]=='\n')) c--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment