summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2004-10-27 04:27:31 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2004-10-27 04:27:31 +0200
commit50dc57c4c7b19fe600c68881b5279b7630b75141 (patch)
treeebf6fafc6ff3f425ffe06cd456c432ab3a4e033b /scripts/basic/split-include.c
parent298039e7b2dc1bd12cb2944707ede23c8af770c4 (diff)
kbuild: warning fixes on Solaris 9
The following set of patches is based loosely on the patches that Jean-Christophe Dubois came up with for 2.6.7. Where as the original patches added a number of casts to unsigned char, I went the route of making the chars be explicitly signed. I honestly don't know which route is better to go down. Doing this is the bulk of the patch. Out of the rest of the odds 'n ends is that on Solaris, Elf32_Word is a ulong, which means all of the printf's are unhappy (uint format, ulong arg) for most of the typedefs. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/basic/split-include.c')
-rw-r--r--scripts/basic/split-include.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/basic/split-include.c b/scripts/basic/split-include.c
index 459c45276cb1..60fc4d8ebaa9 100644
--- a/scripts/basic/split-include.c
+++ b/scripts/basic/split-include.c
@@ -104,7 +104,7 @@ int main(int argc, const char * argv [])
/* Read config lines. */
while (fgets(line, buffer_size, fp_config))
{
- const char * str_config;
+ const signed char * str_config;
int is_same;
int itarget;