Re: Warnings issued at build time due to recent changes .



> .../../mc/src/hotlist.c: In function `add_new_entry_input':
> .../../mc/src/hotlist.c:873: warning: assignment discards qualifiers from
> pointer target type
> .../../mc/src/hotlist.c:874: warning: assignment discards qualifiers from
> pointer target type

Patch below.

-- 
Regards,
Andrew V. Samoilov.
--- hotlist.c.bak	Mon Aug 30 09:25:44 2004
+++ hotlist.c	Thu Sep 16 16:15:53 2004
@@ -820,7 +820,9 @@ static void add_widgets_i18n(QuickWidget
 }
 #endif /* ENABLE_NLS */
 
-static int add_new_entry_input (const char *header, const char *text1, const char *text2, const char *help, char **r1, char **r2)
+static int
+add_new_entry_input (const char *header, char *text1, char *text2,
+		     const char *help, char **r1, char **r2)
 {
 #define RELATIVE_Y_BUTTONS	4
 #define RELATIVE_Y_LABEL_PTH	3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]