commit | 519f95bd59034e672cfbac70ca8d7badc4f26cc7 | [log] [tgz] |
---|---|---|
author | Michal Kubecek <mkubecek@suse.cz> | Sun Aug 23 21:40:27 2020 +0200 |
committer | Michal Kubecek <mkubecek@suse.cz> | Thu Aug 27 10:52:16 2020 +0200 |
tree | 71207a699710cc14cd18312527b0f294ee2d2f87 | |
parent | 39c354e591b66cc29edaab89f90ed03a513ad88f [diff] |
ioctl: make argc counters unsigned Use unsigned int for cmd_context::argc and local variables used for command line argument count. These counters may never get negative and are often compared to unsigned expressions. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Reviewed-by: Andrew Lunn <andrew@lunn.ch>