summaryrefslogtreecommitdiff
path: root/src/specgram.cpp
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-22 20:40:03 +0300
committerVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-22 20:40:03 +0300
commit5cc7c6ddeb01ec91b2e3e36930f0a081a98920ed (patch)
tree79ffe5c0a9a59fa6c86b6a82313ebdd33d2951b1 /src/specgram.cpp
parentee8a1573204f76b16b9fb711608447aabee55696 (diff)
Make argv const.
Diffstat (limited to 'src/specgram.cpp')
-rw-r--r--src/specgram.cpp4
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
+}