* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
unsigned readiesNum = count;
unsigned bytes = sizeof(*Readies)*readiesNum;
- Readies = (uint8_t *) malloc(bytes);
+ Readies = malloc(bytes);
if (Readies == NULL) {
LOG_ERROR("Out of memory allocating %u bytes", bytes);
return ERROR_FAIL;
uint8_t *ReadyPos = Readies;
while (count--) {
- chain5_fields[0].out_value = (void *)(data++);
+ chain5_fields[0].out_value = (uint8_t *)(data++);
chain5_fields[1].in_value = ReadyPos++;
if (count > 0) {