diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-04 21:04:03 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-04 21:08:03 -0400 |
commit | 70fb870ca41cd2a5f9c46ad0244004bd7f808202 (patch) | |
tree | cddce6d5f0cf101f774340dfa697fda2e9f4ab0e | |
parent | a68226ab5e620a49cfedbe01b437d1ebac2adf9b (diff) | |
download | xorg-lib-libXaw-70fb870ca41cd2a5f9c46ad0244004bd7f808202.tar.gz |
fix some compiler warnings in MenuButton.c by changing the menu name from String to char*
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r-- | include/X11/Xaw/MenuButtoP.h | 2 | ||||
-rw-r--r-- | include/X11/Xaw/SmeBSBP.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/Xaw/MenuButtoP.h b/include/X11/Xaw/MenuButtoP.h index 8ee3195..9aa39bc 100644 --- a/include/X11/Xaw/MenuButtoP.h +++ b/include/X11/Xaw/MenuButtoP.h @@ -61,7 +61,7 @@ extern MenuButtonClassRec menuButtonClassRec; /* New fields for the MenuButton widget */ typedef struct { /* resources */ - String menu_name; + char * menu_name; #ifndef OLDXAW XtPointer pad[4]; /* for future use and keep binary compatability */ #endif diff --git a/include/X11/Xaw/SmeBSBP.h b/include/X11/Xaw/SmeBSBP.h index 3df9b88..299e4ca 100644 --- a/include/X11/Xaw/SmeBSBP.h +++ b/include/X11/Xaw/SmeBSBP.h @@ -74,7 +74,7 @@ typedef struct { #ifndef OLDXAW /* new resources */ - String menu_name; /* name of nested sub menu or NULL */ + char * menu_name; /* name of nested sub menu or NULL */ XtPointer pad[4]; /* for future use and keep binary compatability */ #endif } SmeBSBPart; |