Changeset 51d0ee9 in mainline for uspace/app/mkfat/fat.h


Ignore:
Timestamp:
2011-08-27T21:27:24Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc6b148
Parents:
4cf5ed46
Message:

Fix ppc32 build and a possible rounding error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkfat/fat.h

    r4cf5ed46 r51d0ee9  
    4747#define FAT32   32
    4848
    49 #define FAT_SIZE(a) (((a) == FAT12) ? 1.5 : (((a) == FAT16) ? 2 : 4))
     49#define FAT_CLUSTER_DOUBLE_SIZE(a) ((a) / 4)
    5050
    5151typedef struct fat_bs {
Note: See TracChangeset for help on using the changeset viewer.