mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge tests: fix variable type for getopt
getopt returns an int, not a char. Error caused by this issue could only be observed on non-x86 systems. Closes LP#2000359 Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com> MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/962 Approved-by: Jon Tourville <jon.tourville@canonical.com> Approved-by: Steve Beattie <gitlab@nxnw.org> Merged-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
commit
c5ff2033e2
2 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ void receive(enum notify_options notify, mqd_t mqd)
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
char opt = 0;
|
||||
int opt = 0;
|
||||
enum notify_options notify = DO_NOT_NOTIFY;
|
||||
mqd_t mqd;
|
||||
char *client = NULL;
|
||||
|
|
|
@ -71,7 +71,7 @@ static void usage(char *prog_name, char *msg)
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
char opt = 0;
|
||||
int opt = 0;
|
||||
char *client = NULL;
|
||||
int uid;
|
||||
int qid;
|
||||
|
|
Loading…
Add table
Reference in a new issue