stat: Use size_t for sizes instead of unsigned
[cascardo/linux.git] / fs / proc / stat.c
index e296572..1cf86c0 100644 (file)
@@ -184,7 +184,7 @@ static int show_stat(struct seq_file *p, void *v)
 
 static int stat_open(struct inode *inode, struct file *file)
 {
-       unsigned size = 1024 + 128 * num_possible_cpus();
+       size_t size = 1024 + 128 * num_possible_cpus();
        char *buf;
        struct seq_file *m;
        int res;