mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* apdu.c (apdu_send_le, apdu_send_direct), keylist.c
(status_one_subpacket, print_one_subpacket): Fix some compiler warnings. * g10.c (main): Fix --compression-algo to take a string argument like --compress-algo. * trustdb.c (uid_trust_string_fixed): For safety, check for a pk.
This commit is contained in:
parent
b120400413
commit
7a388529a3
5 changed files with 24 additions and 9 deletions
|
@ -168,7 +168,7 @@ status_one_subpacket(sigsubpkttype_t type,size_t len,int flags,const byte *buf)
|
|||
if(len>256)
|
||||
return;
|
||||
|
||||
sprintf(status,"%d %u %u ",type,flags,len);
|
||||
sprintf(status,"%d %u %u ",type,flags,(unsigned int)len);
|
||||
|
||||
write_status_text_and_buffer(STATUS_SIG_SUBPACKET,status,buf,len,0);
|
||||
}
|
||||
|
@ -580,7 +580,7 @@ print_one_subpacket(sigsubpkttype_t type,size_t len,int flags,const byte *buf)
|
|||
{
|
||||
size_t i;
|
||||
|
||||
printf("spk:%d:%u:%u:",type,flags,len);
|
||||
printf("spk:%d:%u:%u:",type,flags,(unsigned int)len);
|
||||
|
||||
for(i=0;i<len;i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue