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

Re: [MiNT] patch:XaAES:taskman



Helmut Karlowski wrote:
t.text is char*
title is const char *

So the obvious fix is:
t.text = (char*)title;

Your patch is correct, but unnecessary complex.

If I recall right, gcc 2.95 didn't want this.

../taskman.c:393: warning: cast discards qualifiers from pointer target
type

Oh, you are right.
It is because the kernel is compiled with the unusual -Wcast-qual option.
It is usually not turned on, even with -Wall.

--
Vincent Rivière