summaryrefslogtreecommitdiff
path: root/src/opus_compare.c
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2013-07-15 15:31:44 -0700
committerGregory Maxwell <greg@xiph.org>2013-07-15 15:31:44 -0700
commit715b37f6d65b855c2ac2677ecafef6f9f7290de1 (patch)
treed3b925ae063818b3a2895f6877696e0b89296759 /src/opus_compare.c
parent43279728cd39947f95dbf77557a0a698f164fdd1 (diff)
downloadopus-715b37f6d65b855c2ac2677ecafef6f9f7290de1.tar.gz
Additional MSVC warning missed in the last commit.
Diffstat (limited to 'src/opus_compare.c')
-rw-r--r--src/opus_compare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_compare.c b/src/opus_compare.c
index b73f4544..faffc902 100644
--- a/src/opus_compare.c
+++ b/src/opus_compare.c
@@ -364,7 +364,7 @@ int main(int _argc,const char **_argv){
err+=Ef*Ef;
}
err=pow(err/nframes,1.0/16);
- Q=100*(1-0.5f*(float)log(1+err)/log(1.13f));
+ Q=100*(1-0.5f*(float)log(1+err)/(float)log(1.13f));
if(Q<0){
fprintf(stderr,"Test vector FAILS\n");
fprintf(stderr,"Internal weighted error is %f\n",err);