Fix compiler warnings when compiling dunstify
This commit is contained in:
parent
2fe2497506
commit
41d3b61f3c
@ -49,7 +49,7 @@ void print_capabilities(void)
|
||||
GList *caps = notify_get_server_caps();
|
||||
for (GList *iter = caps; iter; iter = iter->next) {
|
||||
if (strlen(iter->data) > 0) {
|
||||
g_print("%s\n", iter->data);
|
||||
g_print("%s\n", (char *)iter->data);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -171,7 +171,7 @@ int get_id(NotifyNotification *n)
|
||||
return kn->id;
|
||||
}
|
||||
|
||||
int put_id(NotifyNotification *n, guint32 id)
|
||||
void put_id(NotifyNotification *n, guint32 id)
|
||||
{
|
||||
knickers *kn = n->priv;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user