diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-07 13:26:07 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-07 13:48:55 -0400 |
commit | 0b08f9c45edf8b708b096b89c614094a92a6b7a6 (patch) | |
tree | edf44c983469794d36476b7ebf507f2db08043cc /src/Error.c | |
parent | e4dfb3e179e54177244ab668d6d84486fbd26944 (diff) | |
download | xorg-lib-libXt-0b08f9c45edf8b708b096b89c614094a92a6b7a6.tar.gz |
remove/amend a few casts which produced warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Error.c')
-rw-r--r-- | src/Error.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |