[Freeswitch-svn] [commit] r4256 - freeswitch/trunk/src/include
Freeswitch SVN
anthm at freeswitch.org
Wed Feb 14 10:08:50 EST 2007
Author: anthm
Date: Wed Feb 14 10:08:49 2007
New Revision: 4256
Modified:
freeswitch/trunk/src/include/switch_console.h
Log:
s.data is void *
Modified: freeswitch/trunk/src/include/switch_console.h
==============================================================================
--- freeswitch/trunk/src/include/switch_console.h (original)
+++ freeswitch/trunk/src/include/switch_console.h Wed Feb 14 10:08:49 2007
@@ -43,7 +43,7 @@
SWITCH_BEGIN_EXTERN_C
#define SWITCH_CMD_CHUNK_LEN 1024
-#define SWITCH_STANDARD_STREAM(s) if ((s.data = (char *)malloc(SWITCH_CMD_CHUNK_LEN))) { \
+#define SWITCH_STANDARD_STREAM(s) if ((s.data = malloc(SWITCH_CMD_CHUNK_LEN))) { \
memset(s.data, 0, SWITCH_CMD_CHUNK_LEN); \
s.end = s.data;\
s.data_size = SWITCH_CMD_CHUNK_LEN;\
More information about the Freeswitch-svn
mailing list