[vlc-devel] commit: Change int to size_t when needed. Kills a warning. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Mar 12 02:29:24 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 11 17:46:53 2008 -0700| [54faac8d12ad919ae868d667c1b4fa18606aedba]

Change int to size_t when needed. Kills a warning.

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

 modules/access/bda/bda.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/access/bda/bda.c b/modules/access/bda/bda.c
index 2d280b1..563f627 100644
--- a/modules/access/bda/bda.c
+++ b/modules/access/bda/bda.c
@@ -389,7 +389,8 @@ static int ParsePath( access_t *p_access, const char* psz_module,
     char*       psz_token;
     char*       psz_value;
     vlc_value_t v_value;
-    int         i_token_len, i_param_len, i_this_param;
+    size_t      i_token_len, i_param_len;
+    int         i_this_param;
     char        psz_full_name[128];
 
     if( i_param_count > MAXPARAM )




More information about the vlc-devel mailing list