[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: PATCH Two different ways to get rid of warnings aboutcasting when compiling without gettext
On Sat, Jun 09, 2007 at 06:05:41PM +0100, Peter Clifton wrote:
> I think I prefer the second one - what do people think?
>
> Should fix
> http://sourceforge.net/tracker/index.php?func=detail&aid=1705092&group_id=161080&atid=818426
>
> (Bug #1705092)
[ ... ]
> --- a/gschem/src/x_dialog.c
> +++ b/gschem/src/x_dialog.c
> @@ -3533,6 +3533,7 @@ close_confirmation_dialog_constructor (GType type,
> GtkTreeIter iter;
> gboolean ret, single_page;
> gchar *tmp, *str;
> + const gchar *const_str;
I'll vote for this. const is good.
--
Ivan Stankovic, ivan.stankovic@fer.hr
"Protect your digital freedom and privacy, eliminate DRM,
learn more at http://www.defectivebydesign.org/what_is_drm"
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev