summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Harms <xt4ever@web.de>2023-04-07 12:17:22 +0200
committerWalter Harms <xt4ever@web.de>2023-04-07 12:17:22 +0200
commitce35acb5b2a0892863fc63a1315a60cbbb7f553f (patch)
treed474d86ed4e2a37c5bef8859a0569815fa22b401
parent16df4dd92868ebc9663aae575df7dc3ce6e73797 (diff)
FIX some const warnings
make type const char * to avoid warning
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
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;