mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Lots of little fixes for doing MSVC compiling codecs in windows (#6022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -97,7 +97,7 @@ extern int energy_(integer *len, real *speech, real *rms);
|
||||
for (i__ = 1; i__ <= i__1; ++i__) {
|
||||
*rms += speech[i__] * speech[i__];
|
||||
}
|
||||
*rms = sqrt(*rms / *len);
|
||||
*rms = (real)sqrt(*rms / *len);
|
||||
return 0;
|
||||
} /* energy_ */
|
||||
|
||||
|
Reference in New Issue
Block a user