Re: [PATCH] Pointer cast warnings in scripts/

J.A. Magallon
2005-06-21T14:21:29Z

On 06.21, Roman Zippel wrote:
> Hi,
>
> On Tue, 21 Jun 2005, Pierre Ossman wrote:
>
> > Should I extract the changes for bkbits and make a reversed patch?
>
> No, go through the warnings, analyze each one and choose an appropriate
> solution. You might want to keep notes, which you can post with the
> changelogs, so one can reproduce, why a certain change was done.
>

I started doing that, and the more warnings are related to strxxx functions.
They are defined as receiving 'char *' pointers, I do not know why someone
started to fill the sources with 'signed char *' for text strings...

I did not finish the cleaup due to lack of time, but I was planning to
continue...

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandriva Linux release 2006.0 (Cooker) for i586
Linux 2.6.12-jam1 (gcc 4.0.1 (4.0.1-0.2mdk for Mandriva Linux release 2006.0))