X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_allocator.c;fp=yaffs_allocator.c;h=6db9856532da44cbbcef3a08a41dafc517770137;hp=66ba5a6705fcf2eea2e8a22f8f1dac8c4944d6ac;hb=cf6888f05f691aa1a357e7e94f9bf7b98174bbc3;hpb=1d65367807dc6c75458c2926b17727ae0765a856 diff --git a/yaffs_allocator.c b/yaffs_allocator.c index 66ba5a6..6db9856 100644 --- a/yaffs_allocator.c +++ b/yaffs_allocator.c @@ -140,7 +140,7 @@ static int yaffs_create_tnodes(yaffs_dev_t *dev, int n_tnodes) struct yaffs_allocator *allocator = (struct yaffs_allocator *)dev->allocator; int i; yaffs_tnode_t *new_tnodes; - __u8 *mem; + u8 *mem; yaffs_tnode_t *curr; yaffs_tnode_t *next; yaffs_tnodelist_t *tnl; @@ -157,7 +157,7 @@ static int yaffs_create_tnodes(yaffs_dev_t *dev, int n_tnodes) /* make these things */ new_tnodes = YMALLOC(n_tnodes * dev->tnode_size); - mem = (__u8 *)new_tnodes; + mem = (u8 *)new_tnodes; if (!new_tnodes) { T(YAFFS_TRACE_ERROR,