From 9f23502411d7703377507b814d62ef4d3ffa9044 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 10 Jun 2008 00:31:06 +0000 Subject: [PATCH] use "1.0f" instead of "1f" --- libtransmission/completion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtransmission/completion.c b/libtransmission/completion.c index c0436ae26..c3ae468bd 100644 --- a/libtransmission/completion.c +++ b/libtransmission/completion.c @@ -314,9 +314,9 @@ tr_cpGetAmountDone( const tr_completion * cp, float * tab, int tabCount ) const tr_piece_index_t piece = i * interval; if( tor == NULL ) - tab[i] = 0f; + tab[i] = 0.0f; else if( isComplete || tr_cpPieceIsComplete( cp, piece ) ) - tab[i] = 1f; + tab[i] = 1.0f; else tab[i] = (float)cp->completeBlocks[piece] / tr_torPieceCountBlocks( tor, piece ); }