From 17e6779b65dc864e6e239ff3c1d2cec90674ba3d Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Sun, 1 Jun 2003 21:52:53 +0000 Subject: Made some conversions explicit to prevent VC.NET 2003 from complaining svn-id: r8254 --- sound/fmopl.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp index c10a6b6a32..375d0f164a 100644 --- a/sound/fmopl.cpp +++ b/sound/fmopl.cpp @@ -88,9 +88,9 @@ Revision History: #define FREQ_MASK ((1<0.0) - o = 8*log(1.0/m)/log(2); /* convert to 'decibels' */ + o = 8*log(1.0/m)/log(2.0); /* convert to 'decibels' */ else - o = 8*log(-1.0/m)/log(2); /* convert to 'decibels' */ + o = 8*log(-1.0/m)/log(2.0); /* convert to 'decibels' */ o = o / (ENV_STEP/4); -- cgit v1.2.3