[commit] r11284 - freeswitch/trunk/src/mod/formats/mod_shout
Author: mikej Date: Mon Jan 19 11:27:42 2009 New Revision: 11284 Log: use consistent var types. Modified: freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c Modified: freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c ============================================================================== --- freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c (original) +++ freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c Mon Jan 19 11:27:42 2009 @@ -911,7 +911,7 @@ shout_context_t *context; int rlen = 0; int16_t *audio = data; - int nsamples = *len; + size_t nsamples = *len; if (!handle) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error no handle\n"); @@ -965,7 +965,7 @@ } if (handle->channels == 2) { - int i, j = 0; + switch_size_t i, j = 0; if (context->llen < nsamples) { context->l = switch_core_alloc(context->memory_pool, nsamples * 2);
participants (1)
-
FreeSWITCH SVN