diff gui/ui/render.c @ 33774:474ffcdcc6e7

Change guiInterface_t void pointer member declarations. Declare the members with their appropriate types. Additionally, remove needless cast then and remove unnecessary #ifdef CONFIG_DVDREAD.
author ib
date Sun, 10 Jul 2011 11:51:25 +0000
parents a3983d2c9106
children e1bec41397bb
line wrap: on
line diff
--- a/gui/ui/render.c	Sun Jul 10 11:21:40 2011 +0000
+++ b/gui/ui/render.c	Sun Jul 10 11:51:25 2011 +0000
@@ -220,7 +220,7 @@
                 break;
 
             case 'C':
-                snprintf(tmp, sizeof(tmp), "%s", guiInfo.sh_video ? ((sh_video_t *)guiInfo.sh_video)->codec->name : "");
+                snprintf(tmp, sizeof(tmp), "%s", guiInfo.sh_video ? guiInfo.sh_video->codec->name : "");
                 av_strlcat(trbuf, tmp, sizeof(trbuf));
                 break;