Changeset 190 for trunk/src


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

Constness patch by Joe MacDonald

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.