title: Conversion from int to char may alter its value
body: <p>This is giving me an error on line 524:35 where it says</p>
  
  <pre><code>strcap[i] = tolower (str [i]);
  </code></pre>
  
  <p>saying that the conversion to char from int may alter its value, I have a few errors of these in the source code, so if I can fix this one then the others will be a piece of cake. Can anyone please explain to me in simple terms? I am quite new to this.. Thanks!</p>
  
  <pre><code>char *imccapitalize( const char *str )
  {
     static char strcap[LGST];
     int i;
  
     for( i = 0; str[i] != '\0'; i++ )
     strcap[i] = tolower( str[i] );
     strcap[i] = '\0';
     strcap[0] = toupper( strcap[0] );
     return strcap;
  }
  </code></pre>