summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 36fa106e..b23bb9e9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -773,7 +773,7 @@ ProgramParams::ProgramParams(int argc, char *argv[])
exit(1);
}
const char* desc = argv[++i];
- auto* pos = ::std::strchr(desc, '=');
+ const char* pos = ::std::strchr(desc, '=');
if( pos == nullptr ) {
::std::cerr << "--extern takes an argument of the format name=path" << ::std::endl;
exit(1);