diff --git a/GUI/xephem/compiler.c b/GUI/xephem/compiler.c index 63a0065..16bf565 100644 --- a/GUI/xephem/compiler.c +++ b/GUI/xephem/compiler.c @@ -208,7 +208,7 @@ next_token () { static char toomv[] = "More than %d variables"; static char toomc[] = "More than %d constants"; - static char badop[] = "Illegal operator"; + static const char badop[] = "Illegal operator"; int tok = ERR; /* just something illegal */ char c; diff --git a/GUI/xephem/tools/lx200xed/lx200xed.c b/GUI/xephem/tools/lx200xed/lx200xed.c index 34bdb33..4c6e5b0 100644 --- a/GUI/xephem/tools/lx200xed/lx200xed.c +++ b/GUI/xephem/tools/lx200xed/lx200xed.c @@ -657,7 +657,7 @@ trace(int iLevel, char *szpFormat, char *szpArg) { if(iLevel<=config.iTrace) { if(szpArg==NULL) - printf(szpFormat); + printf("%s", szpFormat); else printf(szpFormat,szpArg); }