[Freeswitch-svn] [commit] r2605 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Sun Sep 10 01:37:08 EDT 2006


Author: mikej
Date: Sun Sep 10 01:37:07 2006
New Revision: 2605

Modified:
   freeswitch/trunk/src/switch_core.c

Log:
expand types for type safety

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Sun Sep 10 01:37:07 2006
@@ -164,10 +164,10 @@
 	uint32_t datalen = 0;
 	int16_t *dp, *fp;
 	uint32_t x;
-	uint32_t rlen = switch_buffer_inuse(bug->raw_read_buffer);
-	uint32_t wlen = switch_buffer_inuse(bug->raw_write_buffer);
+	size_t rlen = switch_buffer_inuse(bug->raw_read_buffer);
+	size_t wlen = switch_buffer_inuse(bug->raw_write_buffer);
 	uint32_t blen;
-	uint32_t rdlen = 0;
+	size_t rdlen = 0;
 	uint32_t maxlen;
 
 	if (!rlen && !wlen) {



More information about the Freeswitch-svn mailing list