Ignore:
Timestamp:
Dec 25, 2015, 10:19:50 AM (5 years ago)
Author:
mikedld
Message:

Ongoing refactoring (use size_t instead of int)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r14532 r14633  
    554554                  {
    555555                    if ((end - tmp) > 1)
    556                       tr_list_append (&candidates, tr_strndup (tmp, end - tmp));
     556                      tr_list_append (&candidates, tr_strndup (tmp, (size_t) (end - tmp)));
    557557                    tmp = (char *) end + 1;
    558558                  }
Note: See TracChangeset for help on using the changeset viewer.