diff --git a/fs/proc/base.c b/fs/proc/base.c index e1227bc57090..7c843024b406 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -1967,7 +1967,7 @@ static int map_files_get_link(struct dentry *dentry, struct path *path) struct map_files_info { fmode_t mode; - unsigned long len; + unsigned int len; unsigned char name[4*sizeof(long)+2]; /* max: %lx-%lx\0 */ };