GCC 4 checks the signedness of pointer casts and generates a whole bunch
of warnings for code in scripts/ (which makes heavy use of signed char
strings).
This patch adds explicit casts.
Signed-off-by: Pierre Ossman [EMAIL PROTECTED]
Index: linux-wbsd/scripts/basic/fixdep.c
-by: Pierre Ossman [EMAIL PROTECTED]
Index: linux-wbsd/scripts/kconfig/mconf.c
===
--- linux-wbsd/scripts/kconfig/mconf.c (revision 153)
+++ linux-wbsd/scripts/kconfig/mconf.c (working copy)
@@ -254,8 +254,8 @@
USB$ = find all
string here was removed because of usage with
strstr().
Signed-off-by: Pierre Ossman [EMAIL PROTECTED]
Index: linux-wbsd/scripts/basic/fixdep.c
===
--- linux-wbsd/scripts/basic/fixdep.c (revision 134)
+++ linux-wbsd/scripts
Bernd Petrovitsch wrote:
On Wed, 2005-06-22 at 11:21 +0200, Pierre Ossman wrote:
I was referring to which of the three types is correct for str*().
char as one can read in every man-page.
That doesn't really make it a standard though (de facto perhaps). :)
The odds of all those