mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-03 21:26:36 +00:00
t/cli: Fix type correctness
This commit is contained in:
parent
06ce6617f5
commit
d9fb855f6e
|
@ -51,7 +51,7 @@ list_cb(struct xrt_prober *xp,
|
|||
const char *name,
|
||||
void *ptr)
|
||||
{
|
||||
struct program *p = ptr;
|
||||
struct program *p = (struct program *)ptr;
|
||||
if (p->selected <= 0) {
|
||||
printf(" %i) %s\n", ++p->index, name);
|
||||
} else if (p->selected == ++p->index) {
|
||||
|
|
Loading…
Reference in a new issue