diff options
| author | Tom Rini <trini@kernel.crashing.org> | 2004-10-31 05:38:28 +0200 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-10-31 05:38:28 +0200 |
| commit | 7928d90e9c01bf5ebfdc5c48871a97547ef70d29 (patch) | |
| tree | a8fd7e8fdcac168d8186d5b72c8108df5235b727 /scripts/basic | |
| parent | 7f2359b191e2ac58a60189b8e87d5e9d28d8c563 (diff) | |
kbuild: additional warning fixes on Solaris 9
A coworker of mine give them a look-over and spotted a few
places where I missed changing some casts.
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/basic')
| -rw-r--r-- | scripts/basic/fixdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 56e4a3d9a8a7..7f42c5d8a5a2 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -225,10 +225,10 @@ void parse_config_file(signed char *map, size_t len) signed char *p, *q; for (; m < end; m++) { - if (*m == INT_CONF) { p = (char *) m ; goto conf; } - if (*m == INT_ONFI) { p = (char *) m-1; goto conf; } - if (*m == INT_NFIG) { p = (char *) m-2; goto conf; } - if (*m == INT_FIG_) { p = (char *) m-3; goto conf; } + if (*m == INT_CONF) { p = (signed char *) m ; goto conf; } + if (*m == INT_ONFI) { p = (signed char *) m-1; goto conf; } + if (*m == INT_NFIG) { p = (signed char *) m-2; goto conf; } + if (*m == INT_FIG_) { p = (signed char *) m-3; goto conf; } continue; conf: if (p > map + len - 7) |
