LADI
/
spa
1
Fork 0

examples: fix type of getopt_long return value

This commit is contained in:
Wim Taymans 2023-04-18 09:48:19 +02:00
parent f0003b702c
commit 3b3146e852
1 changed files with 1 additions and 2 deletions

View File

@ -964,8 +964,7 @@ static void show_help(struct data *data, const char *name, bool error)
int main(int argc, char *argv[])
{
struct data data = { 0 };
int res = 0;
char c;
int res = 0, c;
/* default values*/
data.volume_ramp_samples = DEFAULT_RAMP_SAMPLES;