diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-04 15:11:43 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-04 15:11:43 -0700 |
commit | c67702a4989c450acd2c9f02fb65aa757f74880f (patch) | |
tree | f1def9222481625273521642d68db72c46b866b1 /mimedb.cpp | |
parent | 5880cd88c8e378efb3c76e0cfdff99dce0edf810 (diff) |
Cleaned up lots of typecasts, simplified some string handling
Diffstat (limited to 'mimedb.cpp')
-rw-r--r-- | mimedb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1033,13 +1033,13 @@ static void write_file( const char *file, int print_path ) \param files the list of files for which to perform the action \param fileno an internal value. Should always be set to zero. */ -static void launch( char *filter, const string_list_t &files, int fileno ) +static void launch( char *filter, const string_list_t &files, size_t fileno ) { char *filter_org=filter; int count=0; int launch_again=0; - if( (int)files.size() <= fileno ) + if( files.size() <= fileno ) return; |