summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-06-10 10:16:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-06-10 10:16:44 +0200
commitf83b37d3df9bec6d296f6e62361cc1413349282c (patch)
tree9d7ff4747649fd8577fd11845c149d7a6ac0464f
parentfc8fb6b6b4a92c5f6f617ca185daa109deb4f469 (diff)
Fix minor sign warning in partition_save
-rw-r--r--src/savehdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savehdr.c b/src/savehdr.c
index 6c1a3b6..11aa25a 100644
--- a/src/savehdr.c
+++ b/src/savehdr.c
@@ -229,7 +229,7 @@ int partition_save(disk_t *disk_car, list_part_t *list_part, const int verbose)
case STATUS_LOG: status='L'; break;
case STATUS_DELETED: status='D'; break;
}
- fprintf(f_backup,"%2d : start=%9lu, size=%9lu, Id=%02X, %c\n",
+ fprintf(f_backup,"%2u : start=%9lu, size=%9lu, Id=%02X, %c\n",
(parts->part->order < 100 ? parts->part->order : 0),
(unsigned long)(parts->part->part_offset/disk_car->sector_size),
(unsigned long)(parts->part->part_size/disk_car->sector_size),