From e8bf308e5f89f017d3a4830d120a4ef9e9fe3f0d Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 25 May 2010 23:43:02 -0700 Subject: [PATCH] --- yaml --- r: 198631 b: refs/heads/master c: cc68e3be7412baaa1ea2a2df9e88770f1753da78 h: refs/heads/master i: 198629: d3a7daab57682cb1631fbd3052d40005bd0b394b 198627: 95d831b92c68efa98202e896a7c5e93c6fe97ccb 198623: 583e24bcc4277e5d280d3d7ecfb77afa81cb9968 v: v3 --- [refs] | 2 +- trunk/fs/fscache/object-list.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b5e70f38dc3b..48d339d7a5ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3c7b204547bc3d342a4e31196fe14803581d279f +refs/heads/master: cc68e3be7412baaa1ea2a2df9e88770f1753da78 diff --git a/trunk/fs/fscache/object-list.c b/trunk/fs/fscache/object-list.c index 1e1f286dd70e..4a8eb31c5338 100644 --- a/trunk/fs/fscache/object-list.c +++ b/trunk/fs/fscache/object-list.c @@ -103,7 +103,7 @@ static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) /* banners (can't represent line 0 by pos 0 as that would involve * returning a NULL pointer) */ if (pos == 0) - return (struct fscache_object *) ++(*_pos); + return (struct fscache_object *)(long)++(*_pos); if (pos < 3) return (struct fscache_object *)pos;