🏷️ optimize counter type for `optind` loop

This commit is contained in:
DrMaxNix 2022-04-29 19:09:38 +02:00 committed by GitHub
parent bf39c2a60b
commit a5d1ecb3aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ int main(int argc, char **argv){
}
// parse
for(size_t q = optind; q < argc; q++){
for(int q = optind; q < argc; q++){
if(q == optind){
// make sure string has a collon in it
char *arg_id = argv[q];