Re: guchar -> gchar?



On Wed, Aug 03, 2005 at 08:50:30AM +0200, Lutz M?ller wrote:
> On Wed, 2005-08-03 at 00:14 -0600, Andreas J. Guelzow wrote:
> > I do not think that this is sufficient reason to break the API.
> 
> This is exactly what I was asking: Would the change from guchar to gchar
> "break the API"? As far as I understand, binary compatibility would not
> be broken (same size).
> 
> If the change isn't worth it, may I add "(const guchar *)" to
> libgnomeprint (i.e. 
> 
> drivername = gnome_print_config_get (config, 
>   (const guchar *) "Settings.Engine.Backend.Driver");
> 
> ) to libgnomeprint to get rid of the warnings?

This seems like compiler foolishness.  The casts and a change to the
types in the api (even though it does not break bin compat) seem
pointless.  Let's just disable the warning.



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