[vlc-commits] ML: kill another warning

Jean-Baptiste Kempf git at videolan.org
Mon Jan 31 12:03:57 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 31 11:48:05 2011 +0100| [9c7217e9278143212623a1254d8ab7cc5fd5832a] | committer: Jean-Baptiste Kempf

ML: kill another warning

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

 modules/media_library/sql_search.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/media_library/sql_search.c b/modules/media_library/sql_search.c
index 1addc20..b78e993 100644
--- a/modules/media_library/sql_search.c
+++ b/modules/media_library/sql_search.c
@@ -170,7 +170,7 @@ int BuildSelectVa( media_library_t *p_ml, char **ppsz_query,
                 break;
             case ML_ARTIST:
                 /* This is OK because of a shallow free find */
-                p_find->lvalue.str = ML_PERSON_ARTIST;
+                p_find->lvalue.str = (char *)ML_PERSON_ARTIST;
                 p_find->value.str = va_arg( criterias, char* );
                 p_ftree = ml_FtreeFastAnd( p_ftree, p_find );
                 break;



More information about the vlc-commits mailing list