diff options
Diffstat (limited to 'scripts/mod')
| -rw-r--r-- | scripts/mod/modpost.c | 2 |
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)++) |
