Changeset e04bfbf0 in mainline for uspace/app/mkexfat/mkexfat.c


Ignore:
Timestamp:
2012-02-26T16:48:54Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef144ef
Parents:
528acda
Message:

mkexfat: Fix compile error on 32-bit architectures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkexfat/mkexfat.c

    r528acda re04bfbf0  
    194194cfg_print_info(exfat_cfg_t *cfg)
    195195{
    196         printf(NAME ": Sector size:           %lu\n", cfg->sector_size);
    197         printf(NAME ": Cluster size:          %lu\n", cfg->cluster_size);
     196        printf(NAME ": Sector size:           %lu\n",
     197            (unsigned long) cfg->sector_size);
     198        printf(NAME ": Cluster size:          %lu\n",
     199            (unsigned long) cfg->cluster_size);
    198200        printf(NAME ": FAT size in sectors:   %lu\n", cfg->fat_sector_count);
    199201        printf(NAME ": Data start sector:     %lu\n", cfg->data_start_sector);
    200202        printf(NAME ": Total num of clusters: %lu\n", cfg->total_clusters);
    201         printf(NAME ": Bitmap size:           %lu\n",
     203        printf(NAME ": Bitmap size:           %lu\n", (unsigned long)
    202204            div_round_up(cfg->bitmap_size, cfg->cluster_size));
    203         printf(NAME ": Upcase table size:     %lu\n",
     205        printf(NAME ": Upcase table size:     %lu\n", (unsigned long)
    204206            div_round_up(sizeof(upcase_table), cfg->cluster_size));
    205207}
Note: See TracChangeset for help on using the changeset viewer.