summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2004-10-31 05:38:28 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2004-10-31 05:38:28 +0200
commit7928d90e9c01bf5ebfdc5c48871a97547ef70d29 (patch)
treea8fd7e8fdcac168d8186d5b72c8108df5235b727 /scripts/mod
parent7f2359b191e2ac58a60189b8e87d5e9d28d8c563 (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/mod')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 74cb1c0c8e75..347549c35d6c 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -219,7 +219,7 @@ get_next_line(unsigned long *pos, void *file, unsigned long size)
static char line[4096];
int skip = 1;
size_t len = 0;
- signed char *p = (char *)file + *pos;
+ signed char *p = (signed char *)file + *pos;
char *s = line;
for (; *pos < size ; (*pos)++)