X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fsecurity.c;h=65d8555c989a1373976d0316413cf2e24131ffbd;hp=089067dc433f5152cd6cd4fd15261744d56eb48d;hb=53d4db68e30bf45b983c59f91e5e2a3e039e1426;hpb=dcfbcf5cce40b473afb8303245c035f37d72ac9b diff --git a/src/security.c b/src/security.c index 089067dc..65d8555c 100644 --- a/src/security.c +++ b/src/security.c @@ -74,7 +74,7 @@ int read_security_data(const u8 metadata_resource[], u64 size_no_descriptors = 8 + sizes_size; if (size_no_descriptors > sd->total_length) { - ERROR("Security data total length of %"PRIu64" is too short because\n" + ERROR("Security data total length of %u is too short because\n" "there must be at least %"PRIu64" bytes of security " "data!\n", sd->total_length, 8 + sizes_size); @@ -110,7 +110,7 @@ int read_security_data(const u8 metadata_resource[], for (uint i = 0; i < sd->num_entries; i++) { total_len += sd->sizes[i]; if (total_len > sd->total_length) { - ERROR("Security data total length of %"PRIu64" is too " + ERROR("Security data total length of %u is too " "short because there are at least %"PRIu64" " "bytes of security data!\n", sd->total_length, total_len);