]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: signed/unsigned
authorMoises Silva <moy@sangoma.com>
Fri, 28 May 2010 22:43:45 +0000 (18:43 -0400)
committerMoises Silva <moy@sangoma.com>
Fri, 28 May 2010 22:43:45 +0000 (18:43 -0400)
libs/freetdm/mod_freetdm/mod_freetdm.c

index 4a90c53622e79986d076bc242e73435755c7c58e..79b81afd3bbfd842532fcf9aa2d3ce0f34df5d93 100644 (file)
@@ -3411,9 +3411,9 @@ SWITCH_STANDARD_API(ft_function)
                stream->write_function(stream, "+OK DTMF detection was %s\n", fcmd == FTDM_COMMAND_ENABLE_DTMF_DETECT ? "enabled" : "disabled");
        } else if (!strcasecmp(argv[0], "trace")) {
                char tracepath[255];
-               int i = 0;
+               unsigned i = 0;
                uint32_t chan_id = 0;
-               int32_t chan_count = 0;
+               uint32_t chan_count = 0;
                ftdm_span_t *span = NULL;
                ftdm_channel_t *chan = NULL;
                if (argc < 3) {
@@ -3452,7 +3452,7 @@ SWITCH_STANDARD_API(ft_function)
        } else if (!strcasecmp(argv[0], "notrace")) {
                uint32_t i = 0;
                uint32_t chan_id = 0;
-               int32_t chan_count = 0;
+               uint32_t chan_count = 0;
                ftdm_channel_t *fchan = NULL;
                ftdm_span_t *span = NULL;
                if (argc < 2) {