From 658c60a08ea81a8a40084fb3d0590336fe212bdf Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 17 Nov 2012 22:17:44 +0100 Subject: fix warning --- src/gipfel.cxx | 4 ++-- 1 file 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) { -- cgit v1.2.3