summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-05-19 06:54:58 +0000
committerphintuka <phintuka>2008-05-19 06:54:58 +0000
commit877bfac90aedaeb6c0828cbfb90966e5fab88c20 (patch)
tree53cf76cfb3a529e3ca474de4d94da6285c25b2bf
parent81a77560e0a86ed522d779386e44e75c78d15f5d (diff)
downloadxineliboutput-877bfac90aedaeb6c0828cbfb90966e5fab88c20.tar.gz
xineliboutput-877bfac90aedaeb6c0828cbfb90966e5fab88c20.tar.bz2
int -> size_t
-rw-r--r--device.c5
-rw-r--r--xine_frontend_main.c4
-rw-r--r--xine_input_vdr.c7
3 files changed, 9 insertions, 7 deletions
diff --git a/device.c b/device.c
index 29382fcb..52d9f105 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c,v 1.58 2008-05-18 19:42:33 phintuka Exp $
+ * $Id: device.c,v 1.59 2008-05-19 06:54:57 phintuka Exp $
*
*/
@@ -1619,7 +1619,8 @@ void cXinelibDevice::EnsureDvdSpuTrack(void)
strcmp(m_DvdSpuTrack[0].language, "menu"))) {
if(xc.spu_autoshow) {
- int pref, len, track;
+ int pref, track;
+ size_t len;
for(pref = 0; pref < 4; pref++)
for(track = 0; track < 64; track++)
if(m_DvdSpuTrack[track].id != 0xffff)
diff --git a/xine_frontend_main.c b/xine_frontend_main.c
index 7c8a3171..17f4df9e 100644
--- a/xine_frontend_main.c
+++ b/xine_frontend_main.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_main.c,v 1.40 2008-04-28 20:03:52 phintuka Exp $
+ * $Id: xine_frontend_main.c,v 1.41 2008-05-19 06:54:58 phintuka Exp $
*
*/
@@ -291,7 +291,7 @@ static void SignalHandler(int signum)
static char *strcatrealloc(char *dest, const char *src)
{
- int l;
+ size_t l;
if (!src || !*src)
return dest;
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 43015253..4dcdefed 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.138 2008-05-06 23:14:19 phintuka Exp $
+ * $Id: xine_input_vdr.c,v 1.139 2008-05-19 06:54:57 phintuka Exp $
*
*/
@@ -1065,7 +1065,7 @@ static void write_control_data(vdr_input_plugin_t *this, const char *str, size_t
static void write_control(vdr_input_plugin_t *this, const char *str)
{
- size_t len = (size_t)strlen(str);
+ size_t len = strlen(str);
pthread_mutex_lock (&this->fd_control_lock);
write_control_data(this, str, len);
pthread_mutex_unlock (&this->fd_control_lock);
@@ -3941,7 +3941,8 @@ static void *vdr_control_thread(void *this_gen)
static void slave_track_maps_changed(vdr_input_plugin_t *this)
{
char tracks[1024], lang[128];
- int i, current, n = 0, cnt;
+ int i, current, n = 0;
+ size_t cnt;
/* Audio tracks */