From 59c81ef7333c5b70a9ae7d41f7b40a74f010a80f Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Wed, 13 Nov 2024 08:45:34 +0000 Subject: [PATCH] buffer: Fix result type in find_render_node --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index 7213565..7981527 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -517,7 +517,7 @@ static int render_node_from_dev_t(char* node, size_t maxlen, dev_t device) } static int find_render_node(char *node, size_t maxlen) { - bool r = -1; + int r = -1; drmDevice *devices[64]; int n = drmGetDevices2(0, devices, sizeof(devices) / sizeof(devices[0]));