Ethereal-dev: Re: [Ethereal-dev] Question on signedness of tvb_format_text

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 22 Jan 2004 18:07:57 -0800

On Jan 22, 2004, at 6:02 PM, Joerg Mayer wrote:

Right now, tvb_format_text returns guchar* but I think it shoudl return
gchar* instead: 1) its return value is used in other string functions
2) it returns the value of format_text, which is of type gchar* anyway.

As long as the usual care is taken when dereferencing "gchar *" and handing the result to <ctype.h> macros, that seems reasonable.