changeset 25235:b444558c0b22

Parameter of Filter function can be const, removes the warning mplayer/gtk/fs.c:197: warning: passing argument 1 of 'Filter' discards qualifiers from pointer target type
author reimar
date Sun, 02 Dec 2007 16:52:19 +0000
parents 02518a3daeef
children d541a8203657
files gui/mplayer/gtk/fs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/gtk/fs.c	Sun Dec 02 16:50:33 2007 +0000
+++ b/gui/mplayer/gtk/fs.c	Sun Dec 02 16:52:19 2007 +0000
@@ -134,7 +134,7 @@
 GdkBitmap   * dmask;
 GdkBitmap   * fmask;
 
-static char * Filter( char * name )
+static char * Filter( const char * name )
 {
  static char tmp[32];
  int  i,c;