Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 80bd676 in mainline


Ignore:
Timestamp:
2012-07-11T09:01:52Z (10 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial
Children:
8eff2b0
Parents:
d9812b4
Message:

fixed 64-bit incompatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_superblock.c

    rd9812b4 r80bd676  
    10121012{
    10131013        int rc;
    1014         uint32_t phys_block_size;
     1014        size_t phys_block_size;
    10151015
    10161016        /* Load physical block size from block device */
     
    10231023        uint64_t first_block = EXT4_SUPERBLOCK_OFFSET / phys_block_size;
    10241024        /* Compute number of block to write */
    1025         uint32_t block_count = EXT4_SUPERBLOCK_SIZE / phys_block_size;
     1025        size_t block_count = EXT4_SUPERBLOCK_SIZE / phys_block_size;
    10261026
    10271027        /* Check alignment */
Note: See TracChangeset for help on using the changeset viewer.