diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-04 19:50:15 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-04 21:06:57 -0400 |
commit | 9836ef1ff74744dc8316b762baf9f9f5f70bbd8f (patch) | |
tree | b85be554a88ff7e3a9b11b040f1e8e44c8659998 | |
parent | d7a86b4b9017c67fbdabd4e6006fba6689c63ed1 (diff) | |
download | xorg-lib-libXaw-9836ef1ff74744dc8316b762baf9f9f5f70bbd8f.tar.gz |
change variables to/from char* vs String to reduce compiler warnings (no object change)
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r-- | src/DisplayList.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/DisplayList.c b/src/DisplayList.c index 7c90916..d318c99 100644 --- a/src/DisplayList.c +++ b/src/DisplayList.c @@ -140,8 +140,8 @@ XawRunDisplayList(Widget w, _XawDisplayList *list, #define DLEND 1 #define DLNAME 2 #define DLARG 3 -static char * -read_token(char *src, char *dst, Cardinal size, int *status) +static String +read_token(String src, char *dst, Cardinal size, int *status) { int ch; Bool esc, quote; @@ -235,7 +235,9 @@ _XawDisplayList *XawCreateDisplayList(String string, Screen *screen, XawDLProc *proc; char cname[64], fname[64], aname[1024]; Cardinal i; - char *cp, *fp, *lp; + String cp; + String fp; + String lp; int status; xlibc = XawGetDisplayListClass(xlib); |