Browse Source

getopt: Windows build fix

legacy
Sam Hocevar 8 years ago
parent
commit
96fc303163
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/sys/getopt.cpp

+ 1
- 1
src/sys/getopt.cpp View File

@@ -169,7 +169,7 @@ int getopt::parse()
++this->index;
if (m_private->m_opts[i].has_arg)
{
if (this->index >= m_private->argc)
if (this->index >= m_private->m_argc)
goto too_few;
this->arg = argv[this->index++];
}


Loading…
Cancel
Save