Fix integer type warnings in debug log.

This commit is contained in:
Milan Broz
2014-04-13 16:41:29 +02:00
parent 1fc441f091
commit cad0cbf0c8
3 changed files with 5 additions and 5 deletions

View File

@@ -552,7 +552,7 @@ int LUKS_write_phdr(struct luks_phdr *hdr,
struct luks_phdr convHdr;
int r;
log_dbg("Updating LUKS header of size %lu on device %s",
log_dbg("Updating LUKS header of size %zu on device %s",
sizeof(struct luks_phdr), device_path(device));
r = LUKS_check_device_size(ctx, hdr->keyBytes);