diff options
author | Walter Harms <xt4ever@web.de> | 2023-04-07 12:17:22 +0200 |
---|---|---|
committer | Walter Harms <xt4ever@web.de> | 2023-04-07 12:17:22 +0200 |
commit | ce35acb5b2a0892863fc63a1315a60cbbb7f553f (patch) | |
tree | d474d86ed4e2a37c5bef8859a0569815fa22b401 | |
parent | 16df4dd92868ebc9663aae575df7dc3ce6e73797 (diff) |
FIX some const warnings
make type const char * to avoid warning
-rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |