Skip to content

Commit

Permalink
buffer: Fix result type in find_render_node
Browse files Browse the repository at this point in the history
  • Loading branch information
any1 committed Nov 13, 2024
1 parent 6cc5054 commit 59c81ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
Expand Down

0 comments on commit 59c81ef

Please sign in to comment.