From 3a2473affe1e15d6e8d252db7ec5e22fd1683978 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 1 Jun 2019 19:27:15 -0700 Subject: 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 --- BitEdit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BitEdit.c') diff --git a/BitEdit.c b/BitEdit.c index 64c2e56..a9ec29f 100644 --- a/BitEdit.c +++ b/BitEdit.c @@ -226,7 +226,7 @@ static Boolean image_visible = False; static Pixmap check_mark; static Dialog input_dialog, error_dialog, qsave_dialog; static Time btime; -static String filename = NULL, base_name = NULL, format; +static char *filename = NULL, *base_name = NULL, *format; static char message[80]; -- cgit v1.2.3