yaffs: More clean up
[yaffs2.git] / utils / mkyaffs2image.c
index d54bcc5ed2b6d3e4d824f5fb76a964dc4bf4ae40..2d2da437a0c2c63c9e312796df91fb0aecf9975d 100644 (file)
@@ -146,8 +146,8 @@ static int find_obj_in_list(dev_t dev, ino_t ino)
 static void little_to_big_endian(struct yaffs_ext_tags *tagsPtr)
 {
 #if 0 // FIXME NCB
-    yaffs_tags_union_t * tags = (yaffs_tags_union_t* )tagsPtr; // Work in bytes.
-    yaffs_tags_union_t   temp;
+    union yaffs_tags_union * tags = (union yaffs_tags_union* )tagsPtr; // Work in bytes.
+    union yaffs_tags_union   temp;
 
     memset(&temp, 0, sizeof(temp));
     // Ick, I hate magic numbers.