mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keyedit.c (menu_clean_uids_from_key, menu_clean_subkeys_from_key),
trustdb.c (clean_uids_from_key, clean_subkeys_from_key): Fix mingw32 build warnings. Noted by Joe Vender.
This commit is contained in:
parent
8639e9768e
commit
db8adc2880
3 changed files with 11 additions and 4 deletions
|
@ -3196,7 +3196,7 @@ menu_clean_uids_from_key(KBNODE keyblock)
|
|||
{
|
||||
if(node->pkt->pkttype==PKT_USER_ID && is_deleted_kbnode(node))
|
||||
{
|
||||
char *reason;
|
||||
const char *reason;
|
||||
char *user=utf8_to_native(node->pkt->pkt.user_id->name,
|
||||
node->pkt->pkt.user_id->len,0);
|
||||
|
||||
|
@ -3231,7 +3231,7 @@ menu_clean_subkeys_from_key(KBNODE keyblock)
|
|||
{
|
||||
if(node->pkt->pkttype==PKT_PUBLIC_SUBKEY && is_deleted_kbnode(node))
|
||||
{
|
||||
char *reason;
|
||||
const char *reason;
|
||||
|
||||
if(node->pkt->pkt.public_key->is_revoked)
|
||||
reason=_("revoked");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue