summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-11-17 22:17:44 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-11-17 22:17:44 +0100
commit658c60a08ea81a8a40084fb3d0590336fe212bdf (patch)
tree31b60ead4318d7cc213c76072d37aae678c374dc
parentf74d63ad11c409183c17c1f443fa94b41a459303 (diff)
fix warning
-rw-r--r--src/gipfel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 8add46a..a780a43 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -495,8 +495,8 @@ int main(int argc, char** argv) {
double stitch_from = 0.0, stitch_to = 380.0;
double dist_k0 = 0.0, dist_k1 = 0.0, dist_x0 = 0.0;
double visibility = 0.07;
- char *outpath = "/tmp";
- char *export_file = NULL;
+ const char *outpath = "/tmp";
+ const char *export_file = NULL;
err = 0;
while ((c = getopt(argc, argv, ":?d:v:sw:h:j:t:u:br:4e:V:pE")) != EOF) {