aboutsummaryrefslogtreecommitdiffhomepage
path: root/mimedb.cpp
diff options
context:
space:
mode:
authorGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-01-14 22:32:45 -0800
committerGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-01-14 22:32:45 -0800
commit9b133a978d5f33985a9b66d3a75165e3d50cdfa3 (patch)
treee846e195756904d8c007ae1f33e77a53d696102c /mimedb.cpp
parent203c749e6cc2d5ac0e9e8e240c77d94e179c60d0 (diff)
Improve const and signed/unsigned correctness
Diffstat (limited to 'mimedb.cpp')
-rw-r--r--mimedb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mimedb.cpp b/mimedb.cpp
index d0187b28..3adc70e2 100644
--- a/mimedb.cpp
+++ b/mimedb.cpp
@@ -295,7 +295,7 @@ static char *file_exists( const char *dir, const char *in )
\param all If zero, then stop after the first filename.
\return The number of filenames added to the list.
*/
-static int append_filenames( array_list_t *list, char *f, int all )
+static int append_filenames( array_list_t *list, const char *f, int all )
{
int prev_count = al_get_count( list );
char *result;