Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for libcfg+/src/platon/str/strplus.c between version 1.12 and 1.13

version 1.12, 2002/02/25 18:46:00 version 1.13, 2002/02/28 08:48:56
Line 124  str_white_str(str, substr, size)
Line 124  str_white_str(str, substr, size)
         int          int
 strcnt(str, c)  strcnt(str, c)
         const char *str;          const char *str;
         const char c;          const int c;
 {  {
         register int i = 0;          register int i = 0;
   
         if (str != NULL)          if (str != NULL)
                 while (*str != '\0')                  while (*str != '\0')
                         if (*str++ == c)                          if (*str++ == (char) c)
                                 i++;                                  i++;
   
         return i;          return i;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top