Ignore:
Timestamp:
Jun 10, 2008, 12:31:06 AM (13 years ago)
Author:
charles
Message:

use "1.0f" instead of "1f"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/completion.c

    r6110 r6111  
    315315
    316316        if( tor == NULL )
    317             tab[i] = 0f;
     317            tab[i] = 0.0f;
    318318        else if( isComplete || tr_cpPieceIsComplete( cp, piece ) )
    319             tab[i] = 1f;
     319            tab[i] = 1.0f;
    320320        else
    321321            tab[i] = (float)cp->completeBlocks[piece] / tr_torPieceCountBlocks( tor, piece );
Note: See TracChangeset for help on using the changeset viewer.