[kbuild-devel] [PATCH] Pointer cast warnings in scripts/

2005-06-21 Thread Pierre Ossman
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

[kbuild-devel] [PATCH 2/2] Fix signed char problem in scripts/kconfig

2005-06-22 Thread Pierre Ossman
-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

[kbuild-devel] [PATCH 1/2] Fix signed char problem in scripts/basic

2005-06-22 Thread Pierre Ossman
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

[kbuild-devel] Re: [PATCH] Pointer cast warnings in scripts/

2005-06-22 Thread Pierre Ossman
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