From 4d7e574abefe9cd15c04cf0145faf55c9e282e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 9 Jun 2007 11:44:00 +0200 Subject: Convert all input plugins to use void * as type for the buf parameter of read() function, and declare a new buf variable in the function as needed. --- src/vdr/input_vdr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vdr') diff --git a/src/vdr/input_vdr.c b/src/vdr/input_vdr.c index 1f82def28..97da8e834 100644 --- a/src/vdr/input_vdr.c +++ b/src/vdr/input_vdr.c @@ -1308,9 +1308,10 @@ static int internal_write_event_play_external(vdr_input_plugin_t *this, uint32_t } static off_t vdr_plugin_read(input_plugin_t *this_gen, - char *buf, off_t len) + void *buf_gen, off_t len) { vdr_input_plugin_t *this = (vdr_input_plugin_t *) this_gen; + char *buf = (char *)buf_gen; off_t n, total; #ifdef LOG_READ lprintf ("reading %lld bytes...\n", len); -- cgit v1.2.3