some casts for the `master' branch

This commit is contained in:
Francesco Lannutti 2012-03-18 20:34:40 +01:00 committed by Francesco Lannutti
parent 9ec92f1526
commit 5dd63904b5
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,7 @@ void nghash_distribution(NGHASHPTR hashtable)
if( this_count > 0 ){
nzero_cnt++ ;
}
diff = (double)this_count - avg ;
diff = (double) this_count - avg ;
diff2 = diff * diff ;
sum2 += diff2 ;
}