Mercurial > mplayer.hg
comparison gui/mplayer/gtk/fs.c @ 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 | 78ac40115c15 |
children | d541a8203657 |
comparison
equal
deleted
inserted
replaced
25234:02518a3daeef | 25235:b444558c0b22 |
---|---|
132 GdkPixmap * dpixmap; | 132 GdkPixmap * dpixmap; |
133 GdkPixmap * fpixmap; | 133 GdkPixmap * fpixmap; |
134 GdkBitmap * dmask; | 134 GdkBitmap * dmask; |
135 GdkBitmap * fmask; | 135 GdkBitmap * fmask; |
136 | 136 |
137 static char * Filter( char * name ) | 137 static char * Filter( const char * name ) |
138 { | 138 { |
139 static char tmp[32]; | 139 static char tmp[32]; |
140 int i,c; | 140 int i,c; |
141 for ( i=0,c=0;i < strlen( name );i++ ) | 141 for ( i=0,c=0;i < strlen( name );i++ ) |
142 { | 142 { |