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

Changeset e04bfbf in mainline


Ignore:
Timestamp:
2012-02-26T16:48:54Z (8 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
master
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 re04bfbf  
    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.