From b049e87423f370acdcc0bb8fc7e11ecb967d3320 Mon Sep 17 00:00:00 2001 From: Moises Silva Date: Fri, 28 May 2010 18:43:45 -0400 Subject: [PATCH] freetdm: signed/unsigned --- libs/freetdm/mod_freetdm/mod_freetdm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/freetdm/mod_freetdm/mod_freetdm.c b/libs/freetdm/mod_freetdm/mod_freetdm.c index 4a90c53622..79b81afd3b 100644 --- a/libs/freetdm/mod_freetdm/mod_freetdm.c +++ b/libs/freetdm/mod_freetdm/mod_freetdm.c @@ -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) {