From ce35acb5b2a0892863fc63a1315a60cbbb7f553f Mon Sep 17 00:00:00 2001 From: Walter Harms Date: Fri, 7 Apr 2023 12:17:22 +0200 Subject: FIX some const warnings make type const char * to avoid warning --- utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 69f45bd..ab7702f 100644 --- a/utils.c +++ b/utils.c @@ -60,7 +60,7 @@ static void FreeResources ( WidgetResources * resources ); */ void -SetMessage(Widget w, String str) +SetMessage(Widget w, const char *str) { Arg args[1]; @@ -312,7 +312,7 @@ typedef struct _FileDialogInfo { } FileDialogInfo; void -_PopupFileDialog(Widget w, String str, String default_value, +_PopupFileDialog(Widget w, const char *str, String default_value, XtCallbackProc func, XtPointer data) { FileDialogInfo * file_info; -- cgit v1.2.3