Commit 097f3dad authored by W. Michael Petullo's avatar W. Michael Petullo

Fix some compiler warnings

parent 5e9ac3a6
......@@ -247,7 +247,7 @@ START_TEST(daap_connection_new_test)
END_TEST
static void
_append_str_test(GNode *parent, int code, const char *value)
_append_str_test(GNode *parent, int code, char *value)
{
DMAPStructureItem *item;
GNode *child;
......@@ -334,7 +334,7 @@ START_TEST(_handle_mlcl_test)
_append_int_test(parent, DMAP_CC_ASBR, expected_bitrate);
factory = test_daap_record_factory_new();
record = _handle_mlcl(NULL, factory, parent, &item_id);
record = _handle_mlcl(NULL, DMAP_RECORD_FACTORY(factory), parent, &item_id);
ck_assert_int_eq(expected_item_id, item_id);
......@@ -390,7 +390,7 @@ START_TEST(_handle_mlcl_bad_code_test)
GNode *parent;
DMAPRecord *record;
int item_id;
char *set_value = "value", *value = NULL;
char *set_value = "value";
char *expected_title = "title", *title = NULL;
item = g_new0(DMAPStructureItem, 1);
......@@ -401,7 +401,7 @@ START_TEST(_handle_mlcl_bad_code_test)
_append_str_test(parent, DMAP_CC_MINM, expected_title);
factory = test_daap_record_factory_new();
record = _handle_mlcl(NULL, factory, parent, &item_id);
record = _handle_mlcl(NULL, DMAP_RECORD_FACTORY(factory), parent, &item_id);
g_object_get(record, "title", &title, NULL);
ck_assert_str_eq(expected_title, title);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment