summaryrefslogtreecommitdiff
path: root/src/Converters.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-20 05:07:21 -0400
committerThomas E. Dickey <dickey@his.com>2019-04-16 19:39:55 +0000
commite53726577e18f37186d7996dc85dc82de9532d22 (patch)
treee9950cf4c7068bc82c556ccfe280f959add600b1 /src/Converters.c
parent13ed4421006c3bc7743233a401ce80f849dd889b (diff)
Allow all of the "argv" strings to be writable, since those arrays may
be updated during initialization. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Converters.c')
-rw-r--r--src/Converters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Converters.c b/src/Converters.c
index 3402a24..e812930 100644
--- a/src/Converters.c
+++ b/src/Converters.c
@@ -1704,10 +1704,10 @@ static void ArgArrayDestructor(
XrmValuePtr args,
Cardinal *num_args)
{
- String *strarray;
+ _XtString *strarray;
if (closure) {
- strarray = (String*) closure;
+ strarray = (_XtString*) closure;
XtFree(*strarray);
XtFree((char *) strarray);
}