diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2011-11-19 17:49:38 (GMT) |
---|---|---|
committer | Nicolas Despres <nicolas.despres@gmail.com> | 2011-11-19 17:56:08 (GMT) |
commit | 657a0b919f2ff7e79ce4e1f555c50f23226e3ee2 (patch) | |
tree | 7d3f4df8144c6215fa96d4d2e5a56e881368af58 | |
parent | 6be76e56b748479f980e3406141088ba4e27fb15 (diff) | |
download | Ninja-657a0b919f2ff7e79ce4e1f555c50f23226e3ee2.zip Ninja-657a0b919f2ff7e79ce4e1f555c50f23226e3ee2.tar.gz Ninja-657a0b919f2ff7e79ce4e1f555c50f23226e3ee2.tar.bz2 |
Fix compilation warning with getopt_long() on MinGW.
-rw-r--r-- | src/getopt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getopt.h b/src/getopt.h index 20a7dc7..ead9878 100644 --- a/src/getopt.h +++ b/src/getopt.h @@ -41,9 +41,9 @@ extern "C" /* function prototypes */ int getopt (int argc, char **argv, char *optstring); int getopt_long (int argc, char **argv, const char *shortopts, - GETOPT_LONG_OPTION_T * longopts, int *longind); + const GETOPT_LONG_OPTION_T * longopts, int *longind); int getopt_long_only (int argc, char **argv, const char *shortopts, - GETOPT_LONG_OPTION_T * longopts, int *longind); + const GETOPT_LONG_OPTION_T * longopts, int *longind); #ifdef __cplusplus }; |