diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-01 19:27:15 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-06-01 19:27:15 -0700 |
commit | 3a2473affe1e15d6e8d252db7ec5e22fd1683978 (patch) | |
tree | 023b0349e60706cf11213e67ce09c99c975c5cd8 /BitmapP.h | |
parent | 6dcc9c8064baeb2f9d853309123cd9736809a4fd (diff) |
Use _CONST_X_STRING to make libXt declare String as const char *
Clears 169 out of 240 -Wdiscarded-qualifiers warnings from gcc 7.3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'BitmapP.h')
-rw-r--r-- | BitmapP.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,8 @@ typedef struct { Dimension margin, squareW, squareH, width, height; XPoint hot; int button_function[5]; - String filename, basename; + _XtString filename; + _XtString basename; /* private state */ String size; Position horizOffset, vertOffset; |