/[monit]/monit/external/strftime.c
ViewVC logotype

Diff of /monit/external/strftime.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by chopp, Tue Sep 16 16:13:55 2003 UTC revision 1.2 by hauk, Wed Oct 22 11:08:20 2003 UTC
# Line 243  memcpy_lowcase (dest, src, len) Line 243  memcpy_lowcase (dest, src, len)
243       size_t len;       size_t len;
244  {  {
245    while (len-- > 0)    while (len-- > 0)
246      dest[len] = TOLOWER (src[len]);        dest[len] = TOLOWER ((int)src[len]);
247    return dest;    return dest;
248  }  }
249    
# Line 256  memcpy_uppcase (dest, src, len) Line 256  memcpy_uppcase (dest, src, len)
256       size_t len;       size_t len;
257  {  {
258    while (len-- > 0)    while (len-- > 0)
259      dest[len] = TOUPPER (src[len]);        dest[len] = TOUPPER ((int)src[len]);
260    return dest;    return dest;
261  }  }
262    
# Line 627  strftime (s, maxsize, format, tp) Line 627  strftime (s, maxsize, format, tp)
627              if (to_uppcase)              if (to_uppcase)
628                while (old_start < p)                while (old_start < p)
629                  {                  {
630                    *old_start = TOUPPER (*old_start);                    *old_start = TOUPPER ((int)*old_start);
631                    ++old_start;                    ++old_start;
632                  }                  }
633            }            }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26