From 4bf092e35a92b4fb613f4fee01d5ab26a612ddb6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 28 Nov 2021 10:38:43 -0800 Subject: Use _CONST_X_STRING to make libXt declare String as const char * Clears 5 -Wincompatible-pointer-types warnings and 18 -Wdiscarded-qualifiers warnings from gcc Signed-off-by: Alan Coopersmith --- xsm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xsm.h') diff --git a/xsm.h b/xsm.h index e780355..1ee74e8 100644 --- a/xsm.h +++ b/xsm.h @@ -33,6 +33,8 @@ in this Software without prior written authorization from The Open Group. # include "config.h" #endif +#define _CONST_X_STRING + #include #include -- cgit v1.2.3