use float instead of double for teletone.

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@227 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris
2007-06-07 00:33:31 +00:00
parent 42cd11f708
commit ffb5e9557a
7 changed files with 40 additions and 29 deletions

View File

@@ -306,7 +306,7 @@ zap_status_t zap_span_load_tones(zap_span_t *span, char *mapname)
do {
teletone_process_t this;
next = strchr(p, ',');
this = atof(p);
this = (teletone_process_t)atof(p);
span->tone_detect_map[index].freqs[i++] = this;
if (next) {
p = next + 1;