intel/aubinator: Use int to store getopt_long flags.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 12 Jun 2018 19:18:19 +0000 (12:18 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Fri, 15 Jun 2018 16:03:10 +0000 (09:03 -0700)
commit9e1f208795b62ad4825aaafd5b740c979bb67048
tree4440504654234a812a944c834219d30f870c3e0c
parentf8e2c4c57c329f79b939b20a434acc3cf89faef8
intel/aubinator: Use int to store getopt_long flags.

getopt_long flag parameter is an int pointer, so if we use bool to store
those values, when getopt_long writes to one of them, it might end up
overwriting the next one.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/intel/tools/aubinator.c