diff options
author | phintuka <phintuka> | 2010-05-24 12:58:46 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-05-24 12:58:46 +0000 |
commit | 4b647b129a0d8f40759c11ab9ca8a3698366c75f (patch) | |
tree | b11d54fab73a194433d7ffe77663c76b643e7dcf | |
parent | e976ae3db64763d6656c808819877339d8724169 (diff) | |
download | xineliboutput-4b647b129a0d8f40759c11ab9ca8a3698366c75f.tar.gz xineliboutput-4b647b129a0d8f40759c11ab9ca8a3698366c75f.tar.bz2 |
Fixed arithmetic on untyped pointer
(Thanks to Winfried Koehler)
-rw-r--r-- | xine_input_vdr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index 6629c83e..0d696554 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.318 2010-05-24 12:55:48 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.319 2010-05-24 12:58:46 phintuka Exp $ * */ @@ -134,7 +134,7 @@ typedef struct { # include <linux/unistd.h> /* syscall(__NR_gettid) */ #endif -static const char module_revision[] = "$Id: xine_input_vdr.c,v 1.318 2010-05-24 12:55:48 phintuka Exp $"; +static const char module_revision[] = "$Id: xine_input_vdr.c,v 1.319 2010-05-24 12:58:46 phintuka Exp $"; static const char log_module_input_vdr[] = "[input_vdr] "; #define LOG_MODULENAME log_module_input_vdr #define SysLogLevel iSysLogLevel @@ -933,7 +933,7 @@ static ssize_t write_control_data(vdr_input_plugin_t *this, const void *str, siz return -1; } len -= ret; - str += ret; + str = (uint8_t*)str + ret; } return result; |