[vlc-commits] config: remove stray cast

Rémi Denis-Courmont git at videolan.org
Tue Oct 25 21:55:08 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Oct 25 21:40:46 2016 +0300| [ea03a15e9ba0a566ca2e782736b93650d29824cb] | committer: Rémi Denis-Courmont

config: remove stray cast

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea03a15e9ba0a566ca2e782736b93650d29824cb
---

 src/config/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/file.c b/src/config/file.c
index 3430ee8..c897769 100644
--- a/src/config/file.c
+++ b/src/config/file.c
@@ -236,7 +236,7 @@ int config_LoadConfigFile( vlc_object_t *p_this )
                 break;
 
             default:
-                free ((char *)item->value.psz);
+                free (item->value.psz);
                 item->value.psz = strdupnull (psz_option_value);
                 break;
         }



More information about the vlc-commits mailing list