]> git.sesse.net Git - vlc/commitdiff
update: Use const char * for psz_destdir.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 15 Jun 2008 21:07:33 +0000 (23:07 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 15 Jun 2008 21:07:33 +0000 (23:07 +0200)
include/vlc_update.h
src/misc/update.c

index 11f5f4fa0602fb6446dc53807bf7a07c2a00a820..4bc7fd308d5c9d766714a6b67b1402220bb7c8ae 100644 (file)
@@ -57,7 +57,7 @@ VLC_EXPORT( update_t *, __update_New, ( vlc_object_t * ) );
 VLC_EXPORT( void, update_Delete, ( update_t * ) );
 VLC_EXPORT( void, update_Check, ( update_t *, void (*callback)( void*, bool ), void * ) );
 VLC_EXPORT( bool, update_NeedUpgrade, ( update_t * ) );
-VLC_EXPORT( void, update_Download, ( update_t *, char* ) );
+VLC_EXPORT( void, update_Download, ( update_t *, const char* ) );
 VLC_EXPORT( update_release_t*, update_GetRelease, ( update_t * ) );
 
 /**
index 5e555e2a30c783da426cccb43b56f50421576d7b..646983eb1940f4b871e4d7a5efdcf4df9abe25cb 100644 (file)
@@ -1447,7 +1447,7 @@ void update_DownloadReal( update_download_thread_t *p_udt );
  * \param dir to store the download file
  * \return nothing
  */
-void update_Download( update_t *p_update, char *psz_destdir )
+void update_Download( update_t *p_update, const char *psz_destdir )
 {
     assert( p_update );
 
@@ -1690,7 +1690,7 @@ bool update_NeedUpgrade( update_t *p_update )
     return false;
 }
 
-void update_Download( update_t *p_update, char *psz_destdir )
+void update_Download( update_t *p_update, const char *psz_destdir )
 {
     (void)p_update; (void)psz_destdir;
 }