diff mencoder.c @ 7220:e3ecccc7e505

warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
author arpi
date Sun, 01 Sep 2002 14:30:55 +0000
parents 0d3af3bfab23
children 7ec253a97341
line wrap: on
line diff
--- a/mencoder.c	Sun Sep 01 11:46:38 2002 +0000
+++ b/mencoder.c	Sun Sep 01 14:30:55 2002 +0000
@@ -528,7 +528,7 @@
     unsigned char tmp[3] = { 0, 0, 0 };
     if (spudec_ifo && vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1, dvdsub_id, tmp) >= 0)
 	vobsub_writer = vobsub_out_open(vobsub_out, palette, sh_video->disp_w, sh_video->disp_h,
-					vobsub_out_id?vobsub_out_id:tmp, vobsub_out_index);
+					vobsub_out_id?vobsub_out_id:(char *)tmp, vobsub_out_index);
 #ifdef USE_DVDREAD
     if (vobsub_writer == NULL) {
 	char tmp[3];