Ethereal-dev: Re: [Ethereal-dev] Other signed/unsigned warnings we can avoid

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 20 Jan 2004 19:38:51 +0100
On Mon, Jan 19, 2004 at 11:49:37PM +0100, Olivier Biot wrote:
> While we're at it, why couldn't we modify the functions returning a
> string of characters to return "gchar *" instead of "guint8 *"? One
> victim is tvb_get_string() but there are more. I now circumvent the
> warnings by casting the return value of a tvb_get_string() to (gchar
> *) which is not really intuitive.

I've decided to go for the trivial fixes first. After that, I'll hopefully
have an impression of where the remaining problems are. Actually, a con-
sistent typing scheme would be a nice thing. We'll see though :)

 ciao
     Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.