use type `size_t` instead of `int` where applicable
This commit is contained in:
parent
a0f176f37f
commit
c63a09fabe
6
argh.h
6
argh.h
|
@ -17,9 +17,9 @@
|
||||||
argh_val = false; \
|
argh_val = false; \
|
||||||
char __attribute__((__unused__)) *ARGH_ARGV[argc], \
|
char __attribute__((__unused__)) *ARGH_ARGV[argc], \
|
||||||
*argh_name; \
|
*argh_name; \
|
||||||
int __attribute__((__unused__)) ARGH_ARGC = 0, \
|
size_t __attribute__((__unused__)) ARGH_ARGC = 0, \
|
||||||
argh_diff = 0, \
|
argh_diff = 0, \
|
||||||
argh_offset = 0; \
|
argh_offset = 0; \
|
||||||
while (argh_offset < argc)
|
while (argh_offset < argc)
|
||||||
|
|
||||||
// check for a flag which is either present or not
|
// check for a flag which is either present or not
|
||||||
|
|
Loading…
Reference in New Issue