diff options
author | Walter Harms <wharms@bfs.de> | 2019-01-08 23:10:10 +0100 |
---|---|---|
committer | Walter Harms <wharms@bfs.de> | 2019-01-08 23:10:10 +0100 |
commit | cc255601963479bd94c49851564f5004ac471093 (patch) | |
tree | c8f68dffe06e2303876d256ae965da70db4548c4 /src/TMparse.c | |
parent | 12eda76f2c7ff5d43dd68d7ff0ebc29cf27e9897 (diff) |
resolv:assignment discards 'const' qualifier from pointer target
Diffstat (limited to 'src/TMparse.c')
-rw-r--r-- | src/TMparse.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/TMparse.c b/src/TMparse.c index df94181..cdfacd1 100644 --- a/src/TMparse.c +++ b/src/TMparse.c @@ -99,7 +99,7 @@ in this Software without prior written authorization from The Open Group. #define MIN(a,b) (((a) < (b)) ? (a) : (b)) #endif -static String XtNtranslationParseError = "translationParseError"; +static _Xconst char *XtNtranslationParseError = "translationParseError"; typedef int EventType; @@ -479,13 +479,14 @@ static String PanicModeRecovery( static void Syntax( - String str0,String str1) + _Xconst char *str0, _Xconst char *str1) +// String str0, String str1) { Cardinal num_params = 2; String params[2]; - params[0] = str0; - params[1] = str1; + params[0] = (String) str0; + params[1] = (String) str1; XtWarningMsg(XtNtranslationParseError,"parseError",XtCXtToolkitError, "translation table syntax error: %s %s",params,&num_params); } |