summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 20:35:50 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 21:41:52 +0200
commit5ba253313d014364a9b87b6fa975ce2fc9759aa6 (patch)
treeb6f7b222b980d7a28e8d73d6cf939454a77205b1 /lib
parentmore trivial signedness fixes in drivers (diff)
downloadlinux-5ba253313d014364a9b87b6fa975ce2fc9759aa6.tar.xz
linux-5ba253313d014364a9b87b6fa975ce2fc9759aa6.zip
more low-hanging fruits - kernel, fs, lib signedness
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/idr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/idr.c b/lib/idr.c
index d0f1acdbfa3a..09cbe2b69edb 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -120,7 +120,7 @@ static int sub_alloc(struct idr *idp, int *starting_id, struct idr_layer **pa)
int n, m, sh;
struct idr_layer *p, *new;
int l, id, oid;
- long bm;
+ unsigned long bm;
id = *starting_id;
restart: