mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 22:52:20 +00:00
backend/drm: fix return value type in create_drm_connector()
../backend/drm/drm.c:1435:24: error: incompatible types when returning type ‘_Bool’ but ‘struct wlr_drm_connector *’ was expected 1435 | return false; | ^~~~~
This commit is contained in:
parent
a75c6cca54
commit
29cb151987
@ -1408,7 +1408,7 @@ static struct wlr_drm_connector *create_drm_connector(struct wlr_drm_backend *dr
|
||||
|
||||
if (!get_drm_connector_props(drm->fd, wlr_conn->id, &wlr_conn->props)) {
|
||||
free(wlr_conn);
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const char *conn_name =
|
||||
|
Loading…
Reference in New Issue
Block a user