filter: add casting
@@ -173,7 +173,7 @@ void flb_filter_do(struct flb_input_chunk *ic,
/* Point back the 'data' pointer to the new address */
ret = cio_chunk_get_content(ic->chunk,
- &work_data, &cur_size);
+ (char **) &work_data, &cur_size);
work_data += (cur_size - out_size);
work_size = out_size;
