Fix warnings, update DEPENDS, update Makefile for NetBSD

This commit is contained in:
Michael Stapelberg
2009-03-08 17:30:17 +01:00
parent b51604bde6
commit f85990b27a
5 changed files with 5 additions and 4 deletions

@ -486,7 +486,7 @@ int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
if (client->name != NULL)
free(client->name);
asprintf(&(client->name), "%.*s", xcb_get_property_value_length(prop), xcb_get_property_value(prop));
asprintf(&(client->name), "%.*s", xcb_get_property_value_length(prop), (char*)xcb_get_property_value(prop));
LOG("rename to \"%s\".\n", client->name);
if (client->container->mode == MODE_STACK)