From: Anthony Minessale Date: Wed, 14 Feb 2007 15:08:49 +0000 (+0000) Subject: s.data is void * X-Git-Tag: v1.0-beta1~1112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0901fe4ce81a46ea3bbf7d9a8b7a6deabd8383c;p=thirdparty%2Ffreeswitch.git s.data is void * git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4256 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_console.h b/src/include/switch_console.h index 3c3f24ee90..d712c269a8 100644 --- a/src/include/switch_console.h +++ b/src/include/switch_console.h @@ -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;\