Changeset 190


Ignore:
Timestamp:
Nov 7, 2008, 8:17:10 PM (16 years ago)
Author:
katerina
Message:

Constness patch by Joe MacDonald

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/Changelog

    r188 r190  
    1 2.5.0:
     12.5.1:
     2        * constness patch by Joe MacDonald
     3       
     42.5.0 (01-11-2008):
    25        * dnmalloc.c: fix inconsistent chunksize on 64bit systems
    36        * fix improved error reporting for failed fstat in checksumming
  • trunk/include/slib.h

    r183 r190  
    200200   * strstr
    201201   */
    202   char * sl_strstr (const char * haystack, const char * needle);
     202  const char * sl_strstr (const char * haystack, const char * needle);
    203203
    204204  /*
  • trunk/src/sh_mail.c

    r171 r190  
    693693  /* fast forward to the important part
    694694   */
    695   mptr = sl_strstr(message, _("msg="));
     695  mptr = (char*)sl_strstr(message, _("msg="));
    696696  if (mptr)
    697697    {
     
    702702    rep_serv_tab[2].data_str   = message;
    703703
    704   mptr = sl_strstr(message, _("sev="));
     704  mptr = (char*)sl_strstr(message, _("sev="));
    705705  if (mptr)
    706706    {
  • trunk/src/slib.c

    r183 r190  
    10831083 */
    10841084
    1085 char * sl_strstr (const char * haystack, const char * needle)
     1085const char * sl_strstr (const char * haystack, const char * needle)
    10861086{
    10871087#ifndef HAVE_STRSTR
    1088   int             i;
     1088  insigned int    i;
    10891089  size_t          needle_len;
    10901090  size_t          haystack_len;
Note: See TracChangeset for help on using the changeset viewer.