From 0b08f9c45edf8b708b096b89c614094a92a6b7a6 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 7 Jul 2019 13:26:07 -0400 Subject: remove/amend a few casts which produced warnings Signed-off-by: Thomas E. Dickey --- src/Error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Error.c') diff --git a/src/Error.c b/src/Error.c index b71cb8a..50544de 100644 --- a/src/Error.c +++ b/src/Error.c @@ -177,7 +177,7 @@ void XtAppGetErrorDatabaseText( (void) sprintf(str_name, "%s.%s", name, type); /* XrmGetResource requires the name and class to be fully qualified * and to have the same number of components. */ - str_class = (char *)class; + str_class = (String)class; if (! strchr(class, '.')) { if (!(temp = ALLOCATE_LOCAL(2 * strlen(class) + 2))) _XtAllocError(NULL); -- cgit v1.2.1