Changeset 11542


Ignore:
Timestamp:
Dec 16, 2010, 4:43:15 PM (12 years ago)
Author:
charles
Message:

fix minor signed/unsigned warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/history.c

    r11425 r11542  
    3434tr_historyAdd( tr_recentHistory * h, time_t now, unsigned int n )
    3535{
    36     if( h->slices[h->newest].date + h->precision >= now )
     36    if( h->slices[h->newest].date + (time_t)h->precision >= now )
    3737        h->slices[h->newest].n += n;
    3838    else {
Note: See TracChangeset for help on using the changeset viewer.