mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user