diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-07-22 20:40:03 +0300 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-07-22 20:40:03 +0300 |
| commit | 5cc7c6ddeb01ec91b2e3e36930f0a081a98920ed (patch) | |
| tree | 79ffe5c0a9a59fa6c86b6a82313ebdd33d2951b1 /src/specgram.cpp | |
| parent | ee8a1573204f76b16b9fb711608447aabee55696 (diff) | |
Make argv const.
Diffstat (limited to 'src/specgram.cpp')
| -rw-r--r-- | src/specgram.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/specgram.cpp b/src/specgram.cpp index 6d84135..0e4560c 100644 --- a/src/specgram.cpp +++ b/src/specgram.cpp @@ -138,7 +138,7 @@ int main(int argc, char** argv) { /* parse command line arguments into global settings */ - auto [conf, conf_rc, conf_must_exit] = Configuration::Build(argc, argv); + auto [conf, conf_rc, conf_must_exit] = Configuration::Build(argc, (const char **)argv); if (conf_must_exit) { return conf_rc; } @@ -368,4 +368,4 @@ main(int argc, char** argv) /* all ok */ return 0; -}
\ No newline at end of file +} |
