mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
daemon: use correct type for getopt_long() return value
Depending on the compiler configuration 'char' may be an unsigned type which will not work as expected. Signed-off-by: Matthias Fend <matthias.fend@wolfvision.net>
This commit is contained in:
parent
181a6a2cea
commit
bdc81f6dc0
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ int main(int argc, char *argv[])
|
||||||
{"name", 1, NULL, 'n'},
|
{"name", 1, NULL, 'n'},
|
||||||
{NULL, 0, NULL, 0}
|
{NULL, 0, NULL, 0}
|
||||||
};
|
};
|
||||||
char c;
|
int c;
|
||||||
|
|
||||||
pw_init(&argc, &argv);
|
pw_init(&argc, &argv);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue