fixed incorrect type conversion
authorVladimir Nadvornik <nadvornik@suse.cz>
Sun, 31 May 2009 14:32:39 +0000 (14:32 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Sun, 31 May 2009 14:32:39 +0000 (14:32 +0000)
src/main.c

index 4cfb4ef..91c7a9f 100644 (file)
@@ -854,7 +854,7 @@ gint main(gint argc, gchar *argv[])
                work = command_line->cmd_list;
                while (work)
                        {
-                       collection_add(cd, file_data_new_simple((gchar *)work->data), FALSE);
+                       collection_add(cd, (FileData *)work->data, FALSE);
                        work = work->next;
                        }