diff options
-rw-r--r-- | fs/fscache/object-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fscache/object-list.c b/fs/fscache/object-list.c index 1e1f286dd70e..4a8eb31c5338 100644 --- a/fs/fscache/object-list.c +++ b/fs/fscache/object-list.c | |||
@@ -103,7 +103,7 @@ static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) | |||
103 | /* banners (can't represent line 0 by pos 0 as that would involve | 103 | /* banners (can't represent line 0 by pos 0 as that would involve |
104 | * returning a NULL pointer) */ | 104 | * returning a NULL pointer) */ |
105 | if (pos == 0) | 105 | if (pos == 0) |
106 | return (struct fscache_object *) ++(*_pos); | 106 | return (struct fscache_object *)(long)++(*_pos); |
107 | if (pos < 3) | 107 | if (pos < 3) |
108 | return (struct fscache_object *)pos; | 108 | return (struct fscache_object *)pos; |
109 | 109 | ||