]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Tweaks
authorSteve Underwood <steveu@coppice.org>
Thu, 19 Jun 2014 18:58:33 +0000 (02:58 +0800)
committerSteve Underwood <steveu@coppice.org>
Thu, 19 Jun 2014 18:58:33 +0000 (02:58 +0800)
libs/spandsp/tests/super_tone_rx_tests.c
libs/spandsp/tests/super_tone_tx_tests.c

index 41ff55d958dd4f333410c7908faa5fbe955807b2..01d340c0529a1b353d1fec08eed3e3fa5db57c83 100644 (file)
@@ -188,8 +188,8 @@ static int parse_tone(super_tone_rx_descriptor_t *desc, int tone_id, super_tone_
                                             length*1000.0 + 0.5,
                                             cycles);
             *tree = treep;
-            tree = &(treep->next);
-            parse_tone(desc, tone_id, &(treep->nest), doc, ns, cur);
+            tree = &treep->next;
+            parse_tone(desc, tone_id, &treep->nest, doc, ns, cur);
         }
         /*endif*/
         cur = cur->next;
index c61e361144bfa6f561f0d515d9343d2108848c6f..68d65a7d42831d761b21f0de2149e8675d67c853 100644 (file)
@@ -33,6 +33,7 @@
 #include "config.h"
 #endif
 
+#include <inttypes.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <fcntl.h>
@@ -165,8 +166,8 @@ static int parse_tone(super_tone_tx_step_t **tree, xmlDocPtr doc, xmlNsPtr ns, x
                                             length*1000.0 + 0.5,
                                             cycles);
             *tree = treep;
-            tree = &(treep->next);
-            parse_tone(&(treep->nest), doc, ns, cur);
+            tree = &treep->next;
+            parse_tone(&treep->nest, doc, ns, cur);
         }
         /*endif*/
         cur = cur->next;