Slight adjustment in printf declarations.
This commit is contained in:
parent
18daef7808
commit
a261538602
@ -132,7 +132,7 @@ static const char *mpw_sitePassword_v0(
|
||||
if (!template)
|
||||
return NULL;
|
||||
if (strlen( template ) > MPSiteKeySize) {
|
||||
err( "Template too long for password seed: %lu\n", strlen( template ) );
|
||||
err( "Template too long for password seed: %zu\n", strlen( template ) );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ const char *mpw_encrypt_v0(
|
||||
err( "AES encryption error: %s\n", strerror( errno ) );
|
||||
return NULL;
|
||||
}
|
||||
trc( "cipherBuf: %lu bytes = %s\n", bufSize, mpw_hex( cipherBuf, bufSize ) );
|
||||
trc( "cipherBuf: %zu bytes = %s\n", bufSize, mpw_hex( cipherBuf, bufSize ) );
|
||||
|
||||
// Base64-encode
|
||||
size_t b64Max = mpw_base64_encode_max( bufSize );
|
||||
|
@ -61,7 +61,7 @@ static const char *mpw_sitePassword_v1(
|
||||
if (!template)
|
||||
return NULL;
|
||||
if (strlen( template ) > MPSiteKeySize) {
|
||||
err( "Template too long for password seed: %lu\n", strlen( template ) );
|
||||
err( "Template too long for password seed: %zu\n", strlen( template ) );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user