test: txrx_hwloop: fix getopt_long warning by changing 'c' to int
Resolved the compiler warning caused by comparing getopt_long's return value with a char. Changed 'c' from char to int to correctly handle -1 return values. Fixes #952
This commit is contained in:
parent
d0fbe05690
commit
1a2d9e3e02
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ int main(int argc, char *argv[]) {
|
|||
int opt_ind = 0;
|
||||
bool ok;
|
||||
char* optstr;
|
||||
char c;
|
||||
int c;
|
||||
bladerf_log_level log_level;
|
||||
|
||||
/** Threading */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue