summaryrefslogtreecommitdiff
path: root/src/TMstate.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-20 21:16:25 -0400
committerThomas E. Dickey <dickey@his.com>2019-04-16 19:39:55 +0000
commite98352cebda8de6a715f6c5f35e549dc8cd55b8b (patch)
tree72dcfbf3dfc20a3bc1db6acf7b5a1801b4842490 /src/TMstate.c
parent973ebb581a2cd92349728e36ada108a2d8c68bc8 (diff)
fix const-mismatches in Tmstate.c
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/TMstate.c')
-rw-r--r--src/TMstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TMstate.c b/src/TMstate.c
index 87f6749..f94544e 100644
--- a/src/TMstate.c
+++ b/src/TMstate.c
@@ -1502,7 +1502,7 @@ static void FreeActions(
for (action = actions; action;) {
ActionPtr nextAction = action->next;
for (i = (TMShortCard) action->num_params; i;) {
- XtFree( action->params[--i] );
+ XtFree( (_XtString)action->params[--i] );
}
XtFree( (char*)action->params );
XtFree((char*) action);
@@ -2209,7 +2209,7 @@ void XtInstallAccelerators(
{
XtTranslations aXlations;
_XtTranslateOp op;
- String buf;
+ _XtString buf;
WIDGET_TO_APPCON(destination);
/*